summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge Barrell <78610776+RogerGabeller-ml@users.noreply.github.com>2024-11-16 23:04:28 +0000
committerGitHub <noreply@github.com>2024-11-16 23:04:28 +0000
commit36621bf761610fcf0a33babb31fd497bb0ffec0c (patch)
tree890c203c9944839ab89d486a20f11bc7e8c747a3
parent6fcf9b08bf9f647883d4d431071e28d11372c139 (diff)
Update alcogotchi.py
-rw-r--r--alcogotchi-server/alcogotchi.py2
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: