diff options
Diffstat (limited to 'alcogotchi-server')
| -rw-r--r-- | alcogotchi-server/alcogotchi.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alcogotchi-server/alcogotchi.py b/alcogotchi-server/alcogotchi.py index 1f31176..7832ca2 100644 --- a/alcogotchi-server/alcogotchi.py +++ b/alcogotchi-server/alcogotchi.py @@ -17,7 +17,7 @@ class Alcogotchi: def double_or_nothing(self, data): if self.alco_coin > 0: - bet = dict(data["bet"]) + bet = dict(data)["bet"] self.alco_coin += random.choice([-bet, bet]) return self.get_alcogotchi() else: |
