Bazarr won't update anymore until you upgrade Python!
Bazarr is now compatible with Python 3.6 and newer. You must upgrade Python as we don't support Python 2.x anymore.From 96e210cae197f929ba6a0244f71bc2354d4f92fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Louis=20V=C3=A9zina?= <5130500+morpheus65535@users.noreply.github.com> Date: Sun, 16 Feb 2020 10:39:02 -0500 Subject: [PATCH] Blocking Bazarr update for users that don't use Python 3.x yet. --- bazarr/scheduler.py | 5 ++++- views/menu.tpl | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/bazarr/scheduler.py b/bazarr/scheduler.py index 2fab39767..5d272f823 100644 --- a/bazarr/scheduler.py +++ b/bazarr/scheduler.py @@ -22,6 +22,7 @@ import pytz from tzlocal import get_localzone from calendar import day_name import pretty +from six import PY2 class Scheduler: @@ -188,7 +189,9 @@ class Scheduler: id='update_all_movies', name='Update all Movie Subtitles from disk', replace_existing=True) def __update_bazarr_task(self): - if not args.no_update: + if PY2: + pass + elif not args.no_update: task_name = 'Update Bazarr from source on Github' if args.release_update: task_name = 'Update Bazarr from release on Github' diff --git a/views/menu.tpl b/views/menu.tpl index 7314b4946..ed296bd53 100644 --- a/views/menu.tpl +++ b/views/menu.tpl @@ -237,7 +237,7 @@
Bazarr won't update anymore until you upgrade Python!
Bazarr is now compatible with Python 3.6 and newer. You must upgrade Python as we don't support Python 2.x anymore.