Fix starting the webui with a logfile option
This commit is contained in:
parent
386ca2fa68
commit
ad2b771e5d
@ -96,10 +96,6 @@ def start_ui():
|
|||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
version = deluge.common.get_version()
|
version = deluge.common.get_version()
|
||||||
if deluge.common.get_revision() != "":
|
if deluge.common.get_revision() != "":
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user