From 881f426b43b254cfa54e7e247cb4320a63837873 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 3 Jun 2016 22:54:09 +0200 Subject: [PATCH] un bugfix di 2 caratteri: #21 --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 341a322..f56cff6 100644 --- a/main.py +++ b/main.py @@ -546,7 +546,7 @@ def status(bot, update): def endjoin(bot, update): """Termina la fase di join e inizia quella di votazione.""" game = findgamebyid(update.message.chat['id']) - if game is not None and game.phase is 'Join': + if game is not None and game.phase == 'Join': if update.message.from_user['id'] == game.adminid: # Inizio fase di configurazione game.phase = 'Config'