fixing blackjack and improving lookup
This commit is contained in:
@ -139,7 +139,7 @@ class DatabaseFuncs():
|
||||
old_images_path = "gwendolyn/resources/games/old_images/"
|
||||
file_path = old_images_path + f"connect_four{channel.id}"
|
||||
if os.path.isfile(file_path):
|
||||
with open(file_path, "r") as file_pointer:
|
||||
with open(file_path, "r", encoding="utf-8") as file_pointer:
|
||||
old_image = int(file_pointer.read())
|
||||
else:
|
||||
old_image = 0
|
||||
|
Reference in New Issue
Block a user