diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-12-13 23:22:08 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-12-13 23:22:08 +0100 |
commit | f9f25e064678eeaa96d91d3af7b543334b24bc4c (patch) | |
tree | 8c056fb5442377aa541ec2ff15f0c44e37e54f6b /module/common | |
parent | missing files added (diff) | |
download | pyload-f9f25e064678eeaa96d91d3af7b543334b24bc4c.tar.xz |
little fix
Diffstat (limited to 'module/common')
-rw-r--r-- | module/common/APIExerciser.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/module/common/APIExerciser.py b/module/common/APIExerciser.py index f782efa53..96f5ce9cf 100644 --- a/module/common/APIExerciser.py +++ b/module/common/APIExerciser.py @@ -31,7 +31,7 @@ sumCalled = 0 def startApiExerciser(core, n): for i in range(n): - APIExerciser(core) + APIExerciser(core).start() class APIExerciser(Thread): @@ -53,14 +53,14 @@ class APIExerciser(Thread): self.id = idPool - if core: - self.core.log.info("API Excerciser started %d" % self.id) - idPool += 1 #self.start() def run(self): + + self.core.log.info("API Excerciser started %d" % self.id) + out = open("error.log", "ab") #core errors are not logged of course out.write("\n" + "Starting\n") |