summaryrefslogtreecommitdiff
path: root/src/poezio.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/poezio.py')
-rw-r--r--src/poezio.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/poezio.py b/src/poezio.py
index c013883c..258a25e4 100644
--- a/src/poezio.py
+++ b/src/poezio.py
@@ -32,6 +32,8 @@ def main():
logging.basicConfig(level=logging.CRITICAL)
cocore = singleton.Singleton(core.Core)
signal.signal(signal.SIGHUP, cocore.sighup_handler) # ignore ctrl-c
+ if options.debug:
+ cocore.debug = True
cocore.start()
try:
if not cocore.xmpp.start(): # Connect to remote server