implement secrets.SystemRandom() for --race

This commit is contained in:
Fabian Dill
2020-07-14 07:01:51 +02:00
parent 59a71dbb05
commit 93ecf5988b
11 changed files with 312 additions and 250 deletions

View File

@@ -12,6 +12,7 @@ import inspect
import weakref
import datetime
import threading
import random
import ModuleUpdate
@@ -830,7 +831,6 @@ class ClientMessageProcessor(CommonCommandProcessor):
can_pay = points_available // self.ctx.hint_cost
else:
can_pay = 1000
import random
random.shuffle(not_found_hints)