Do not set sys.stdout,err and stdin to None if logfile is used

This commit is contained in:
Andrew Resch 2009-02-19 00:52:04 +00:00
parent 7fb09d922a
commit 4b711883cb
1 changed files with 0 additions and 4 deletions

View File

@ -194,10 +194,6 @@ def start_daemon():
# Setup the logger # Setup the logger
deluge.log.setupLogger(level=options.loglevel, filename=options.logfile) deluge.log.setupLogger(level=options.loglevel, filename=options.logfile)
if options.logfile:
sys.stdout = None
sys.stderr = None
sys.stdin = None
try: try:
from deluge.core.daemon import Daemon from deluge.core.daemon import Daemon