"Intellisense betrayed me"
This commit is contained in:
@@ -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(
|
||||||
|
|||||||
Reference in New Issue
Block a user