From 4b711883cb5c9f1813f68d0ae9dcf287ff699645 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Thu, 19 Feb 2009 00:52:04 +0000 Subject: [PATCH] Do not set sys.stdout,err and stdin to None if logfile is used --- deluge/main.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/deluge/main.py b/deluge/main.py index d52be12ff..8770ac8d5 100644 --- a/deluge/main.py +++ b/deluge/main.py @@ -194,10 +194,6 @@ def start_daemon(): # Setup the logger deluge.log.setupLogger(level=options.loglevel, filename=options.logfile) - if options.logfile: - sys.stdout = None - sys.stderr = None - sys.stdin = None try: from deluge.core.daemon import Daemon