dudu
This commit is contained in:
@@ -33,6 +33,7 @@ class GameFactory:
|
||||
def getHighScore(self):
|
||||
with open(config.HIGHSCORE_FILE, "w+") as file:
|
||||
score_str = file.readline()
|
||||
file.close()
|
||||
|
||||
if score_str == "":
|
||||
score_str = "0"
|
||||
|
||||
Reference in New Issue
Block a user