mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-03 15:08:40 +00:00
Fix starting the webui with a logfile option
This commit is contained in:
parent
386ca2fa68
commit
ad2b771e5d
1 changed files with 0 additions and 4 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue