py3 syntax
This commit is contained in:
parent
b790b84d6c
commit
bf56a1624c
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue