From 24b3446fab962e01142e5b316355c996459579dd Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 27 May 2016 15:53:06 +0200 Subject: [PATCH] di sto passo finisco a settembre --- main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.py b/main.py index af44d83..16fb121 100644 --- a/main.py +++ b/main.py @@ -418,7 +418,7 @@ class Game: self.message(bot, s.victory_royal) self.endgame() - def endconfig(self): + def endconfig(self, bot): """Fine della fase di config, inizio assegnazione ruoli""" self.phase = 'Voting' try: @@ -585,10 +585,10 @@ def config(bot, update): elif game.configstep == 3: if cmd[1].lower() == 'testa': game.votingmifia = False - game.endconfig() + game.endconfig(bot) elif cmd[1].lower() == 'unica': game.votingmifia = True - game.endconfig() + game.endconfig(bot) else: game.message(bot, s.error_invalid_config) else: