2
0
mirror of https://github.com/ComradCollective/Comrad synced 2024-11-16 00:12:48 +00:00
This commit is contained in:
quadrismegistus 2020-09-05 22:29:13 +01:00
parent 39da8fc935
commit 722dfb3899

View File

@ -88,7 +88,7 @@ class TheSwitchboard(FlaskView, Logger):
encr_b = b64decode(encr_b64_b) encr_b = b64decode(encr_b64_b)
self.log('encr_b',encr_b) self.log('encr_b',encr_b)
return encr_b return encr_b
except UnicodeDecodeError,binascii.Error: except (UnicodeDecodeError,binascii.Error) as e:
return OPERATOR_INTERCEPT_MESSAGE return OPERATOR_INTERCEPT_MESSAGE
if not encr_b64_str: return OPERATOR_INTERCEPT_MESSAGE if not encr_b64_str: return OPERATOR_INTERCEPT_MESSAGE