Use py3 super syntax

This commit is contained in:
Jon Pentland
2022-10-24 21:10:26 +01:00
parent ab92def1a6
commit a95e67bcae
+1 -1
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):