Bugfix from code cosmetics

This commit is contained in:
Ozzie Isaacs 2024-06-22 13:31:18 +02:00
parent 266ef11940
commit 059bdf1649

View File

@ -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