mirror of
https://github.com/Xameren/Casino.git
synced 2025-02-04 08:29:24 +01:00
I left a line for bug testing in... oops
This commit is contained in:
parent
80ee215471
commit
c9d102f15d
1 changed files with 2 additions and 3 deletions
|
@ -1033,9 +1033,8 @@ def dailyreward():
|
||||||
try:
|
try:
|
||||||
loaded_datetime = json.loads(json_datetime)
|
loaded_datetime = json.loads(json_datetime)
|
||||||
lastrewardtime = datetime.fromisoformat(loaded_datetime["current_time"])
|
lastrewardtime = datetime.fromisoformat(loaded_datetime["current_time"])
|
||||||
except (json.JSONDecodeError, KeyError, ValueError)as e:
|
except (json.JSONDecodeError, KeyError, ValueError):
|
||||||
lastrewardtime = datetime(year= 2020, month= 1, day= 1, hour= 1, minute= 1, second= 1, microsecond= 1)
|
lastrewardtime = datetime(year= 2020, month= 1, day= 1, hour= 1, minute= 1, second= 1, microsecond= 1)
|
||||||
print("very bad", e)
|
|
||||||
timediff = currenttime - lastrewardtime
|
timediff = currenttime - lastrewardtime
|
||||||
if timediff.days >= 1:
|
if timediff.days >= 1:
|
||||||
print("Spin a wheel which gives you a random amount of money or XP.\nThe more levels that you have, the bigger the payout\n\nPress enter to continue")
|
print("Spin a wheel which gives you a random amount of money or XP.\nThe more levels that you have, the bigger the payout\n\nPress enter to continue")
|
||||||
|
|
Loading…
Add table
Reference in a new issue