Fix py2 compat

This commit is contained in:
Lorenz Diener 2018-06-04 19:56:46 +02:00
pare 6299e7de4f
commit 2b08e2ec83

Veure arxiu

@ -86,7 +86,7 @@ class AttribAccessDict(dict):
def __setattr__(self, attr, val):
if attr in self:
raise AttributeError("Attribute-style access is read only")
super().__setattr__(attr, val)
super(AttribAccessDict, self).__setattr__(attr, val)
###
# The actual Mastodon class