Fix namespace issue with Noob hack
This commit is contained in:
1 parent
99aa75d8b8
commit
453fb16830
1 file changed
+1
-1
+1
-1
@@ -626,7 +626,7 @@ def clientGetWorkload(request):
|
||||
|
||||
# HACK: Make Noobpwnftw's workers jump around
|
||||
if request.POST['username'] == 'WorkerPool':
|
||||
if random.randrange(1 + len(getActiveTests())) == 0:
|
||||
if random.randrange(1 + len(OpenBench.utils.getActiveTests())) == 0:
|
||||
return HttpResponse('None')
|
||||
|
||||
# Verify the User's credentials
|
||||
|
||||
Reference in new issue
Block a user