From 2b08e2ec831e3bf5fe7de76ed2d135f0bbb68ec7 Mon Sep 17 00:00:00 2001 From: Lorenz Diener Date: Mon, 4 Jun 2018 19:56:46 +0200 Subject: [PATCH] Fix py2 compat --- mastodon/Mastodon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): 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