Commit 8cec65c0 authored by Rob Nelson's avatar Rob Nelson
Browse files

Fixes

parent eba85127
......@@ -249,7 +249,7 @@ class FourchanHandler(IChanSoftware):
o = binascii.hexlify(base64.decodestring(encoded)).upper()
except Exception as e:
if 'padding' in str(e):
self.log.error("GODDAMMIT MOOT: Broken padding on {}".format(orig_encoded))
self.log.error("Broken padding on {}".format(orig_encoded))
return None
olen = len(o)
if olen != 32 and olen > 0:
......
Markdown is supported
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