mirror of
https://github.com/RYGhub/royal-mifia.git
synced 2024-11-21 21:34:20 +00:00
un bugfix di 2 caratteri: #21
This commit is contained in:
parent
756941d084
commit
881f426b43
1 changed files with 1 additions and 1 deletions
2
main.py
2
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'
|
||||
|
|
Loading…
Reference in a new issue