#import sickbeard #from sickbeard import classes #from sickbeard.common import * #from sickbeard.logger import reverseNames #from sickbeard.helpers import maybe_plural ## #set global $header = 'Log File' #set global $title = 'Logs' #set global $sbPath = '..' #set global $topmenu = 'errorlogs' #set $log_level_var = None is $getVar('min_level', None) and 'minLevel' or 'min_level' #set $log_level = $getVar($log_level_var, 20) ## #import os.path #include $os.path.join($sickbeard.PROG_DIR, 'gui/slick/interfaces/default/inc_top.tmpl') #if $varExists('header')

$header

#else

$title

#end if
#echo $logLines
#include $os.path.join($sickbeard.PROG_DIR, 'gui/slick/interfaces/default/inc_bottom.tmpl')