Fix starting the webui with a logfile option

This commit is contained in:
Andrew Resch 2009-04-12 19:59:54 +00:00
parent 386ca2fa68
commit ad2b771e5d

View File

@ -96,10 +96,6 @@ def start_ui():
# Setup the logger
deluge.log.setupLogger(level=options.loglevel, filename=options.logfile)
if options.logfile:
sys.stdout = None
sys.stderr = None
sys.stdin = None
version = deluge.common.get_version()
if deluge.common.get_revision() != "":