#import datetime #import sickgear #from sickgear import TVInfoAPI #from sickgear.helpers import anon_url #from sickgear.tv import PersonGenders #from six import iteritems <% 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 = 'Show Switch Errors' #set global $header = 'Show Switch Errors' #set global $sbPath = '../..' #set global $topmenu = 'show' ## #import os.path #include $os.path.join($sickgear.PROG_DIR, 'gui/slick/interfaces/default/inc_top.tmpl')