aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Diener <[email protected]>2018-06-04 19:56:46 +0200
committerLorenz Diener <[email protected]>2018-06-04 19:56:46 +0200
commit2b08e2ec831e3bf5fe7de76ed2d135f0bbb68ec7 (patch)
treea0fa8bab305880b21c0922549c6fd0ecfb353a18
parent6299e7de4f8a228b6ef98c0fe522b27789c59400 (diff)
downloadmastodon.py-2b08e2ec831e3bf5fe7de76ed2d135f0bbb68ec7.tar.gz
Fix py2 compat
-rw-r--r--mastodon/Mastodon.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py
index e365ce1..df90a57 100644
--- a/mastodon/Mastodon.py
+++ b/mastodon/Mastodon.py
@@ -86,7 +86,7 @@ class AttribAccessDict(dict):
86 def __setattr__(self, attr, val): 86 def __setattr__(self, attr, val):
87 if attr in self: 87 if attr in self:
88 raise AttributeError("Attribute-style access is read only") 88 raise AttributeError("Attribute-style access is read only")
89 super().__setattr__(attr, val) 89 super(AttribAccessDict, self).__setattr__(attr, val)
90 90
91### 91###
92# The actual Mastodon class 92# The actual Mastodon class
Powered by cgit v1.2.3 (git 2.41.0)