diff options
author | morpheus65535 <[email protected]> | 2022-02-24 09:27:35 -0500 |
---|---|---|
committer | morpheus65535 <[email protected]> | 2022-02-24 09:27:35 -0500 |
commit | 33ff7948e814b3d17ce11dcde5d60ad4af0b2da6 (patch) | |
tree | ac061b29cb7e199d436dbe7508b2eaa438378dc7 | |
parent | 9c1397a14d30ca7d75d2ff969deb32865d6e1b9c (diff) | |
download | bazarr-33ff7948e814b3d17ce11dcde5d60ad4af0b2da6.tar.gz bazarr-33ff7948e814b3d17ce11dcde5d60ad4af0b2da6.zip |
no log: pep8 fixesv1.0.3
-rw-r--r-- | bazarr/api/system/status.py | 2 | ||||
-rw-r--r-- | bazarr/backup.py | 2 | ||||
-rw-r--r-- | bazarr/get_providers.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/bazarr/api/system/status.py b/bazarr/api/system/status.py index 645315921..cd3d59205 100644 --- a/bazarr/api/system/status.py +++ b/bazarr/api/system/status.py @@ -16,7 +16,7 @@ class SystemStatus(Resource): @authenticate def get(self): package_version = '' - if 'BAZARR_PACKAGE_VERSION' in os.environ: + if 'BAZARR_PACKAGE_VERSION' in os.environ: package_version = os.environ['BAZARR_PACKAGE_VERSION'] if 'BAZARR_PACKAGE_AUTHOR' in os.environ and os.environ['BAZARR_PACKAGE_AUTHOR'] != '': package_version = f'{package_version} by {os.environ["BAZARR_PACKAGE_AUTHOR"]}' diff --git a/bazarr/backup.py b/bazarr/backup.py index 53e93bcd2..e812a50cd 100644 --- a/bazarr/backup.py +++ b/bazarr/backup.py @@ -74,7 +74,7 @@ def backup_to_zip(): if database_backup_file: backupZip.write(database_backup_file, 'bazarr.db') else: - logging.debug(f'Database file is not included in backup. See previous exception') + logging.debug('Database file is not included in backup. See previous exception') backupZip.write(config_file, 'config.ini') try: diff --git a/bazarr/get_providers.py b/bazarr/get_providers.py index 354c610f9..bf7efad33 100644 --- a/bazarr/get_providers.py +++ b/bazarr/get_providers.py @@ -124,7 +124,7 @@ def get_providers(): _FFPROBE_BINARY = get_binary("ffprobe") -_FFMPEG_BINARY= get_binary("ffmpeg") +_FFMPEG_BINARY = get_binary("ffmpeg") def get_providers_auth(): |