diff --git a/SickBeard.py b/SickBeard.py
index 3c35ad92..74b68050 100755
--- a/SickBeard.py
+++ b/SickBeard.py
@@ -71,6 +71,7 @@ throwaway = datetime.datetime.strptime('20110101', '%Y%m%d')
signal.signal(signal.SIGINT, sickbeard.sig_handler)
signal.signal(signal.SIGTERM, sickbeard.sig_handler)
+
class SickRage(object):
def __init__(self):
# system event callback for shutdown/restart
@@ -455,7 +456,8 @@ class SickRage(object):
sickbeard.showList.append(curShow)
except Exception, e:
logger.log(
- u"There was an error creating the show in " + sqlShow["location"] + ": " + str(e).decode('utf-8', 'replace'),
+ u"There was an error creating the show in " + sqlShow["location"] + ": " + str(e).decode('utf-8',
+ 'replace'),
logger.ERROR)
def restore(self, srcDir, dstDir):
@@ -519,6 +521,7 @@ class SickRage(object):
# system exit
os._exit(0)
+
if __name__ == "__main__":
if sys.hexversion >= 0x020600F0:
freeze_support()
diff --git a/gui/slick/interfaces/default/config_general.tmpl b/gui/slick/interfaces/default/config_general.tmpl
index 7bda4258..777bdeb2 100644
--- a/gui/slick/interfaces/default/config_general.tmpl
+++ b/gui/slick/interfaces/default/config_general.tmpl
@@ -278,13 +278,14 @@