From 8dcbe56e76c3ffa6c915db94ddb6544c17df3066 Mon Sep 17 00:00:00 2001 From: kramo <93832451+kra-mo@users.noreply.github.com> Date: Sat, 17 Jun 2023 16:33:27 +0200 Subject: [PATCH] "Sigh..." --- src/details_window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/details_window.py b/src/details_window.py index d203873..bf593b7 100644 --- a/src/details_window.py +++ b/src/details_window.py @@ -156,7 +156,7 @@ class DetailsWindow(Adw.Window): prefix = "imported_" if not game_id.startswith(prefix): continue - numbers.append(int(game_id.replace(prefix, ""))) + numbers.append(int(game_id.replace(prefix, "", 1))) game_number = max(numbers) + 1 self.game = Game(