diff options
author | morpheus65535 <[email protected]> | 2022-06-28 23:35:19 -0400 |
---|---|---|
committer | morpheus65535 <[email protected]> | 2022-06-28 23:35:19 -0400 |
commit | 5fab67bca0e43cc914bab667faf955a248fa41dd (patch) | |
tree | 5de8a441b70928d0516ce0449dc7952ad67f8c16 | |
parent | f760d3198b75f5f24eb576ff032f656b18b83c40 (diff) | |
download | bazarr-5fab67bca0e43cc914bab667faf955a248fa41dd.tar.gz bazarr-5fab67bca0e43cc914bab667faf955a248fa41dd.zip |
no log: fixed unused imports and indent issues
-rw-r--r-- | bazarr/app/get_providers.py | 1 | ||||
-rw-r--r-- | bazarr/app/ui.py | 8 |
2 files changed, 3 insertions, 6 deletions
diff --git a/bazarr/app/get_providers.py b/bazarr/app/get_providers.py index dcfc2588a..7f29f697d 100644 --- a/bazarr/app/get_providers.py +++ b/bazarr/app/get_providers.py @@ -9,7 +9,6 @@ import pretty import time import socket import requests -import tzlocal from subliminal_patch.exceptions import TooManyRequests, APIThrottled, ParseResponseError, IPAddressBlocked, \ MustGetBlacklisted, SearchLimitReached diff --git a/bazarr/app/ui.py b/bazarr/app/ui.py index 9d482eb39..444869c6f 100644 --- a/bazarr/app/ui.py +++ b/bazarr/app/ui.py @@ -2,10 +2,8 @@ import os import requests -import mimetypes -from flask import request, redirect, abort, render_template, Response, session, send_file, stream_with_context, \ - send_from_directory, Blueprint +from flask import request, abort, render_template, Response, session, send_file, stream_with_context, Blueprint from functools import wraps from urllib.parse import unquote @@ -26,8 +24,8 @@ ui_bp = Blueprint('ui', __name__, static_url_path='/assets') static_bp = Blueprint('images', __name__, - static_folder=os.path.join(os.path.dirname(os.path.dirname(os.path.dirname(__file__))), 'frontend', - 'build', 'images'), static_url_path='/images') + static_folder=os.path.join(os.path.dirname(os.path.dirname(os.path.dirname(__file__))), + 'frontend', 'build', 'images'), static_url_path='/images') ui_bp.register_blueprint(static_bp) |