From 4f8beae698e2be97f3dd37c60b188f1f1152e8d1 Mon Sep 17 00:00:00 2001 From: diSabler Date: Wed, 8 Jan 2014 01:10:00 +0400 Subject: fix: random bomb --- plugins/bomb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/bomb.py b/plugins/bomb.py index c78ee74..df3e9ec 100644 --- a/plugins/bomb.py +++ b/plugins/bomb.py @@ -150,7 +150,7 @@ def bomb_random(): bt -= 1 while not game_over: ntime = time.time() - cb = [t[0] for t in cur_execute_fetchall("select split_part(room,'/',1) from conference;")] + cb = [t[0] for t in cur_execute_fetchall("select split_part(room,'/',1) from conference;") if t] for tmp in cb: try: bla = get_config(tmp,'bomb_random_active') and (ntime - bomb_last_activity[tmp]) < get_config_int(tmp,'bomb_random_active_timer') except: bla = True -- cgit v1.2.3