summaryrefslogtreecommitdiffstats
path: root/module/common/APIExerciser.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/common/APIExerciser.py')
-rw-r--r--module/common/APIExerciser.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/module/common/APIExerciser.py b/module/common/APIExerciser.py
index 96f5ce9cf..ac6bc6c15 100644
--- a/module/common/APIExerciser.py
+++ b/module/common/APIExerciser.py
@@ -59,7 +59,7 @@ class APIExerciser(Thread):
def run(self):
- self.core.log.info("API Excerciser started %d" % self.id)
+ self.core.log.info("API Exerciser started %d" % self.id)
out = open("error.log", "ab")
#core errors are not logged of course
@@ -70,7 +70,7 @@ class APIExerciser(Thread):
try:
self.testAPI()
except Exception:
- self.core.log.error("Excerciser %d throw an execption" % self.id)
+ self.core.log.error("Exerciser %d throw an exception" % self.id)
print_exc()
out.write(format_exc() + 2 * "\n")
out.flush()
@@ -114,7 +114,7 @@ class APIExerciser(Thread):
name = "".join(sample(string.ascii_letters, 10))
urls = createURLs()
- self.api.addPackage(name, urls, choice([Destination.Queue, Destination.Collector]))
+ self.api.addPackage(name, urls, choice([Destination.Queue, Destination.Collector]), "")
def deleteFiles(self):
@@ -154,4 +154,4 @@ class APIExerciser(Thread):
self.api.getAccounts(False)
def getCaptchaTask(self):
- self.api.getCaptchaTask(False) \ No newline at end of file
+ self.api.getCaptchaTask(False)