py3 syntax

This commit is contained in:
Thomas Steen Rasmussen 2017-08-19 23:01:16 +02:00
parent b790b84d6c
commit bf56a1624c

View file

@ -37,7 +37,7 @@ class BaseTicket(CreatedUpdatedModel, UUIDModel):
def save(self, **kwargs):
self.qrcode_base64 = self.get_qr_code()
super(BaseTicket, self).save(**kwargs)
super().save(**kwargs)
def _get_token(self):
return hashlib.sha256(