Use py3 super syntax

This commit is contained in:
Jon Pentland 2022-10-24 22:10:26 +02:00
parent ab92def1a6
commit a95e67bcae
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ class Comment(
# Naive dates were always stored utc
return old_date.replace(tzinfo=timezone.utc)
return old_date
return super(Comment, self).__getattribute__(attr)
return super().__getattribute__(attr)
@property
def __name__(self):