1
Fork 0
mirror of https://github.com/RYGhub/royal-mifia.git synced 2024-11-21 13:34:17 +00:00

un bugfix di 2 caratteri: #21

This commit is contained in:
Steffo 2016-06-03 22:54:09 +02:00
parent 756941d084
commit 881f426b43

View file

@ -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'