kopia lustrzana https://github.com/halcy/Mastodon.py
Fix py2 compat
rodzic
6299e7de4f
commit
2b08e2ec83
|
@ -86,7 +86,7 @@ class AttribAccessDict(dict):
|
||||||
def __setattr__(self, attr, val):
|
def __setattr__(self, attr, val):
|
||||||
if attr in self:
|
if attr in self:
|
||||||
raise AttributeError("Attribute-style access is read only")
|
raise AttributeError("Attribute-style access is read only")
|
||||||
super().__setattr__(attr, val)
|
super(AttribAccessDict, self).__setattr__(attr, val)
|
||||||
|
|
||||||
###
|
###
|
||||||
# The actual Mastodon class
|
# The actual Mastodon class
|
||||||
|
|
Ładowanie…
Reference in New Issue