summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Post <cent@spline.de>2020-08-07 21:23:43 +0200
committerVincent Post <cent@spline.de>2020-08-07 21:23:43 +0200
commitfbcc9316ea83ad1b0620dc5203522231762bf7cc (patch)
tree70c8049120a74e726d4805463a29fbfadfff1b03
parent835ab3f940dbedc18ec3a3bbcdb1a612ac9464f4 (diff)
downloadweb-fbcc9316ea83ad1b0620dc5203522231762bf7cc.tar.gz
web-fbcc9316ea83ad1b0620dc5203522231762bf7cc.tar.bz2
web-fbcc9316ea83ad1b0620dc5203522231762bf7cc.zip
called __init__ of parent class in EncryptedSerializer to populate all attributes
-rw-r--r--accounts/utils/sessions.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/accounts/utils/sessions.py b/accounts/utils/sessions.py
index 1b4a168..5d01b5d 100644
--- a/accounts/utils/sessions.py
+++ b/accounts/utils/sessions.py
@@ -21,6 +21,7 @@ def _unpad(value):
class EncryptedSerializer(TaggedJSONSerializer):
def __init__(self):
+ super(EncryptedSerializer, self).__init__()
self.block_size = AES.block_size
def _cipher(self, iv):