Remove un-needed login check in get_mastodon()

This commit is contained in:
Jason McBrayer 2018-08-23 17:49:45 -04:00
parent f73cadee90
commit fb6e1d6b7a
1 changed files with 0 additions and 5 deletions

View File

@ -25,11 +25,6 @@ class MastodonPool(dict, metaclass=Singleton):
pass
def get_mastodon(request):
if not (request.session.has_key('instance') and
(request.session.has_key('username') or
request.session.has_key('access_token'))):
raise NotLoggedInException()
pool = MastodonPool()
if request.session.has_key('access_token'):
try: