Commit 901b47a1 authored by MaksimSmile13's avatar MaksimSmile13
Browse files

Fix fm_unescape

При выполнении binascii.a2b_qp(smart_bytes(s)) -> возвращаем b"", а нужно строку, судя по описанию.
parent 2cab622f
Pipeline #23200 failed with stages
in 22 minutes and 40 seconds
......@@ -35,4 +35,4 @@ def fm_unescape(s):
Decode escaped FM data to a raw string
'ab\\xffcd'
"""
return binascii.a2b_qp(smart_bytes(s))
return smart_text(binascii.a2b_qp(smart_bytes(s)))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment