mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-23 03:38:08 -06:00
Add attribute type to mastodon session
This commit is contained in:
parent
e3137f4c3d
commit
9f74d568f0
@ -22,6 +22,7 @@ class Session(base.baseSession):
|
|||||||
super(Session, self).__init__(*args, **kwargs)
|
super(Session, self).__init__(*args, **kwargs)
|
||||||
self.config_spec = "mastodon.defaults"
|
self.config_spec = "mastodon.defaults"
|
||||||
self.supported_languages = []
|
self.supported_languages = []
|
||||||
|
self.type = "mastodon"
|
||||||
|
|
||||||
def login(self, verify_credentials=True):
|
def login(self, verify_credentials=True):
|
||||||
if self.settings["mastodon"]["access_token"] != None and self.settings["mastodon"]["instance"] != None:
|
if self.settings["mastodon"]["access_token"] != None and self.settings["mastodon"]["instance"] != None:
|
||||||
|
Loading…
Reference in New Issue
Block a user