diff options
author | Vincent Post <cent@spline.de> | 2020-08-07 21:23:43 +0200 |
---|---|---|
committer | Vincent Post <cent@spline.de> | 2020-08-07 21:23:43 +0200 |
commit | fbcc9316ea83ad1b0620dc5203522231762bf7cc (patch) | |
tree | 70c8049120a74e726d4805463a29fbfadfff1b03 | |
parent | 835ab3f940dbedc18ec3a3bbcdb1a612ac9464f4 (diff) | |
download | web-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.py | 1 |
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): |