Bugfix from code cosmetics
This commit is contained in:
parent
266ef11940
commit
059bdf1649
|
@ -49,7 +49,7 @@ def main():
|
||||||
kobo_available = get_kobo_activated()
|
kobo_available = get_kobo_activated()
|
||||||
except (ImportError, AttributeError): # Catch also error for not installed flask-WTF (missing csrf decorator)
|
except (ImportError, AttributeError): # Catch also error for not installed flask-WTF (missing csrf decorator)
|
||||||
kobo_available = False
|
kobo_available = False
|
||||||
kobo, kobo_auth,get_remote_address = None
|
kobo = kobo_auth = get_remote_address = None
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from .oauth_bb import oauth
|
from .oauth_bb import oauth
|
||||||
|
|
Loading…
Reference in New Issue
Block a user