#from sys import version_info #import datetime #import locale #import operator #import sickgear #from sickgear import config, metadata #from sickgear.metadata.generic import GenericMetadata #from sickgear.common import * #from sickgear.db import db_supports_backup #from sickgear.helpers import anon_url, maybe_plural #from sickgear.logger import reverseNames as file_logging_presets #from sickgear.piper import check_pip_env #from sickgear.sgdatetime import * <% def sg_var(varname, default=False): return getattr(sickgear, varname, default) %>#slurp# <% def sg_str(varname, default=''): return getattr(sickgear, varname, default) %>#slurp# ## #set global $title = 'Config - General' #set global $header = 'General Settings' #set global $sbPath = '../..' #set global $topmenu = 'config' ## #import os.path #include $os.path.join($sg_str('PROG_DIR'), 'gui/slick/interfaces/default/inc_top.tmpl') #if $varExists('header')