diff --git a/gui/slick/interfaces/default/config.tmpl b/gui/slick/interfaces/default/config.tmpl index 889c293f..cf85fe61 100644 --- a/gui/slick/interfaces/default/config.tmpl +++ b/gui/slick/interfaces/default/config.tmpl @@ -1,5 +1,4 @@ #import sickbeard -#import psutil #from sickbeard import db #import os.path #set global $title="Configuration" @@ -15,17 +14,17 @@

$title

#end if -#set cpu_usage = $psutil.cpu_percent() -#set ram = $psutil.phymem_usage() -#set ram_total = $ram.total / 2**20 -#set ram_used = $ram.used / 2**20 -#set ram_free = $ram.free / 2**20 -#set ram_percent_used = $ram.percent -#set disk = $psutil.disk_usage('/') -#set disk_total = $disk.total / 2**30 -#set disk_used = $disk.used / 2**30 -#set disk_free = $disk.free / 2**30 -#set disk_percent_used = $disk.percent +##set cpu_usage = $psutil.cpu_percent() +##set ram = $psutil.phymem_usage() +##set ram_total = $ram.total / 2**20 +##set ram_used = $ram.used / 2**20 +##set ram_free = $ram.free / 2**20 +##set ram_percent_used = $ram.percent +##set disk = $psutil.disk_usage('/') +##set disk_total = $disk.total / 2**30 +##set disk_used = $disk.used / 2**30 +##set disk_free = $disk.free / 2**30 +##set disk_percent_used = $disk.percent
@@ -37,7 +36,6 @@ #end if You are using BETA software -
Memory Used: $ram_percent_used
SR Config file: $sickbeard.CONFIG_FILE
SR Database file: $db.dbFilename()
SR Cache Dir: $sickbeard.CACHE_DIR