From bf56a1624c59440b266d3335dc05540c44efc8d5 Mon Sep 17 00:00:00 2001 From: Thomas Steen Rasmussen Date: Sat, 19 Aug 2017 23:01:16 +0200 Subject: [PATCH] py3 syntax --- src/tickets/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tickets/models.py b/src/tickets/models.py index 3ac78db4..0919d7e5 100644 --- a/src/tickets/models.py +++ b/src/tickets/models.py @@ -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(