From 7661c860c47ac3afd7f499242861a389a27cbbd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?N=C3=A9munaire?= Date: Mon, 21 May 2012 13:14:28 +0200 Subject: [PATCH] Fix random parameter --- qd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qd.py b/qd.py index 5a1de78..33c930a 100644 --- a/qd.py +++ b/qd.py @@ -408,7 +408,7 @@ class GameUpdater(threading.Thread): if self.bfrseen is not None: seen = datetime.now() - self.bfrseen - rnd = random.randint(0, seen.seconds/90) + rnd = random.randint(0, int(seen.seconds/90)) else: rnd = 1