diff --git a/gui/slick/interfaces/default/restart_bare.tmpl b/gui/slick/interfaces/default/restart_bare.tmpl index ea345f89..709d5835 100644 --- a/gui/slick/interfaces/default/restart_bare.tmpl +++ b/gui/slick/interfaces/default/restart_bare.tmpl @@ -5,11 +5,13 @@ #set curSBHttpPort = $sbHttpPort #set curSBHttpsEnabled = $sbHttpsEnabled #set curSBHandleReverseProxy = $sbHandleReverseProxy + #set themeSpinner = $sbThemeName #except NameMapper.NotFound: #set curSBHost = "localhost" #set curSBHttpPort = $sickbeard.WEB_PORT #set curSBHttpsEnabled = "False" #set curSBHandleReverseProxy = "False" + #set themeSpinner = $sickbeard.THEME_NAME #end try sbRoot = "$sbRoot"; sbHttpPort = "$curSBHttpPort"; @@ -22,18 +24,7 @@ sbHost = "$curSBHost"; -#try: - #sickbeard -#except NameError: - #set themeSpinner = ''; -#else: -#if 'dark' != sickbeard.THEME_NAME: -#set themeSpinner = '' -#else: -#set themeSpinner = '-dark' -#end if -#end try - +#set themeSpinner = '-dark' if 'dark' == themeSpinner else ''