Add attribute type to mastodon session

This commit is contained in:
2022-02-24 16:08:29 -06:00
parent e3137f4c3d
commit 9f74d568f0

View File

@@ -22,6 +22,7 @@ class Session(base.baseSession):
super(Session, self).__init__(*args, **kwargs)
self.config_spec = "mastodon.defaults"
self.supported_languages = []
self.type = "mastodon"
def login(self, verify_credentials=True):
if self.settings["mastodon"]["access_token"] != None and self.settings["mastodon"]["instance"] != None: