summaryrefslogtreecommitdiffstats
path: root/pyLoadCore.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-10-15 17:48:33 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-10-15 17:48:33 +0200
commit4f1f935c46875748a078aed50d7e191a0c7a5ec4 (patch)
tree31faade248dbf850e8bc81febeb18ea77c6aaf74 /pyLoadCore.py
parentmore fixes (diff)
downloadpyload-4f1f935c46875748a078aed50d7e191a0c7a5ec4.tar.xz
fixes
Diffstat (limited to 'pyLoadCore.py')
-rwxr-xr-xpyLoadCore.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/pyLoadCore.py b/pyLoadCore.py
index 46ca289a1..194e47cd3 100755
--- a/pyLoadCore.py
+++ b/pyLoadCore.py
@@ -44,7 +44,6 @@ import sys
from sys import argv
from sys import executable
from sys import exit
-from sys import stdout
import thread
import time
from time import sleep
@@ -364,7 +363,7 @@ class Core(object):
self.webserver.start()
def init_logger(self, level):
- console = logging.StreamHandler(stdout)
+ console = logging.StreamHandler(sys.stdout)
frm = logging.Formatter("%(asctime)s %(levelname)-8s %(message)s", "%d.%m.%Y %H:%M:%S")
console.setFormatter(frm)
self.log = logging.getLogger("log") # settable in config