From 1621aa9cfdc5249bb287b8df9fd2f227fd28ced3 Mon Sep 17 00:00:00 2001 From: mathieui Date: Sat, 13 Oct 2012 15:14:34 +0200 Subject: =?UTF-8?q?Add=20a=20=E2=80=9Cdebug=E2=80=9D=20attribute=20to=20Co?= =?UTF-8?q?re?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/poezio.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/poezio.py') 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 -- cgit v1.2.3