"Intellisense betrayed me"

This commit is contained in:
kramo
2023-06-17 16:31:14 +02:00
parent 9d7a6d8ea4
commit 009e6f3641

View File

@@ -156,7 +156,7 @@ class DetailsWindow(Adw.Window):
prefix = "imported_" prefix = "imported_"
if not game_id.startswith(prefix): if not game_id.startswith(prefix):
continue continue
numbers.append(int(game_id.replace(prefix, "", count=1))) numbers.append(int(game_id.replace(prefix, "")))
game_number = max(numbers) + 1 game_number = max(numbers) + 1
self.game = Game( self.game = Game(