Author: andar

Revision: 5052

Log:
        Fix starting the webui with a logfile option

Diff:
Modified: trunk/deluge/main.py
===================================================================
--- trunk/deluge/main.py        2009-04-10 17:34:55 UTC (rev 5051)
+++ trunk/deluge/main.py        2009-04-12 19:59:54 UTC (rev 5052)
@@ -96,10 +96,6 @@
 
     # 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() != "":



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"deluge-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/deluge-commit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to