mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-08 02:53:38 +00:00
Added in missing redirects for config pages, should also resolve subtitle uncaught exception issues.
This commit is contained in:
parent
012baeda0c
commit
bb437299d5
1 changed files with 7 additions and 0 deletions
|
@ -1509,6 +1509,7 @@ class ConfigGeneral(MainHandler):
|
||||||
else:
|
else:
|
||||||
ui.notifications.message('Configuration Saved', ek.ek(os.path.join, sickbeard.CONFIG_FILE))
|
ui.notifications.message('Configuration Saved', ek.ek(os.path.join, sickbeard.CONFIG_FILE))
|
||||||
|
|
||||||
|
redirect("/config/general/")
|
||||||
|
|
||||||
class ConfigBackupRestore(MainHandler):
|
class ConfigBackupRestore(MainHandler):
|
||||||
def index(self, *args, **kwargs):
|
def index(self, *args, **kwargs):
|
||||||
|
@ -1636,6 +1637,7 @@ class ConfigSearch(MainHandler):
|
||||||
else:
|
else:
|
||||||
ui.notifications.message('Configuration Saved', ek.ek(os.path.join, sickbeard.CONFIG_FILE))
|
ui.notifications.message('Configuration Saved', ek.ek(os.path.join, sickbeard.CONFIG_FILE))
|
||||||
|
|
||||||
|
redirect("/config/search/")
|
||||||
|
|
||||||
class ConfigPostProcessing(MainHandler):
|
class ConfigPostProcessing(MainHandler):
|
||||||
def index(self, *args, **kwargs):
|
def index(self, *args, **kwargs):
|
||||||
|
@ -1741,6 +1743,7 @@ class ConfigPostProcessing(MainHandler):
|
||||||
else:
|
else:
|
||||||
ui.notifications.message('Configuration Saved', ek.ek(os.path.join, sickbeard.CONFIG_FILE))
|
ui.notifications.message('Configuration Saved', ek.ek(os.path.join, sickbeard.CONFIG_FILE))
|
||||||
|
|
||||||
|
redirect("/config/postProcessing/")
|
||||||
|
|
||||||
def testNaming(self, pattern=None, multi=None, abd=False, sports=False, anime_type=None):
|
def testNaming(self, pattern=None, multi=None, abd=False, sports=False, anime_type=None):
|
||||||
|
|
||||||
|
@ -2179,6 +2182,7 @@ class ConfigProviders(MainHandler):
|
||||||
else:
|
else:
|
||||||
ui.notifications.message('Configuration Saved', ek.ek(os.path.join, sickbeard.CONFIG_FILE))
|
ui.notifications.message('Configuration Saved', ek.ek(os.path.join, sickbeard.CONFIG_FILE))
|
||||||
|
|
||||||
|
redirect("/config/providers/")
|
||||||
|
|
||||||
class ConfigNotifications(MainHandler):
|
class ConfigNotifications(MainHandler):
|
||||||
def index(self, *args, **kwargs):
|
def index(self, *args, **kwargs):
|
||||||
|
@ -2384,6 +2388,7 @@ class ConfigNotifications(MainHandler):
|
||||||
else:
|
else:
|
||||||
ui.notifications.message('Configuration Saved', ek.ek(os.path.join, sickbeard.CONFIG_FILE))
|
ui.notifications.message('Configuration Saved', ek.ek(os.path.join, sickbeard.CONFIG_FILE))
|
||||||
|
|
||||||
|
redirect("/config/notifications/")
|
||||||
|
|
||||||
class ConfigSubtitles(MainHandler):
|
class ConfigSubtitles(MainHandler):
|
||||||
def index(self, *args, **kwargs):
|
def index(self, *args, **kwargs):
|
||||||
|
@ -2440,6 +2445,7 @@ class ConfigSubtitles(MainHandler):
|
||||||
else:
|
else:
|
||||||
ui.notifications.message('Configuration Saved', ek.ek(os.path.join, sickbeard.CONFIG_FILE))
|
ui.notifications.message('Configuration Saved', ek.ek(os.path.join, sickbeard.CONFIG_FILE))
|
||||||
|
|
||||||
|
redirect("/config/subtitles/")
|
||||||
|
|
||||||
class ConfigAnime(MainHandler):
|
class ConfigAnime(MainHandler):
|
||||||
def index(self, *args, **kwargs):
|
def index(self, *args, **kwargs):
|
||||||
|
@ -2485,6 +2491,7 @@ class ConfigAnime(MainHandler):
|
||||||
else:
|
else:
|
||||||
ui.notifications.message('Configuration Saved', ek.ek(os.path.join, sickbeard.CONFIG_FILE))
|
ui.notifications.message('Configuration Saved', ek.ek(os.path.join, sickbeard.CONFIG_FILE))
|
||||||
|
|
||||||
|
redirect("/config/anime/")
|
||||||
|
|
||||||
class Config(MainHandler):
|
class Config(MainHandler):
|
||||||
def index(self, *args, **kwargs):
|
def index(self, *args, **kwargs):
|
||||||
|
|
Loading…
Reference in a new issue