Register signals on setFile, not init

This commit is contained in:
Ruud
2011-02-13 03:48:52 +01:00
parent ae70c2076f
commit 60e580188b
2 changed files with 7 additions and 6 deletions
+1
View File
@@ -37,6 +37,7 @@ def cmd_couchpotato(base_path):
settings.setFile(os.path.join(options.data_dir, 'settings.conf'))
debug = options.debug or settings.get('debug', default = False)
# Daemonize app
if options.daemonize:
createDaemon()