diff options
-rw-r--r-- | service/pixelated/support/ext_fetch.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/service/pixelated/support/ext_fetch.py b/service/pixelated/support/ext_fetch.py index 3529a6e2..2db5dd1d 100644 --- a/service/pixelated/support/ext_fetch.py +++ b/service/pixelated/support/ext_fetch.py @@ -6,7 +6,7 @@ def mark_as_encrypted_inline(f): def w(*args, **kwargs): msg, valid_sign = f(*args) is_encrypted = fetch.PGP_BEGIN in args[1].as_string() and fetch.PGP_END in args[1].as_string() - decrypted_successfully = not fetch.PGP_BEGIN in msg.as_string() and not fetch.PGP_END in msg.as_string() + decrypted_successfully = fetch.PGP_BEGIN not in msg.as_string() and fetch.PGP_END not in msg.as_string() if not is_encrypted: encrypted = 'false' |