Fix version check logic

This commit is contained in:
kramo
2023-05-11 13:15:12 +02:00
committed by GeoffreyCoulaud
parent e93c93e802
commit 4553ab97e0

View File

@@ -113,10 +113,6 @@ class CartridgesWindow(Adw.ApplicationWindow):
shared.covers_dir / f"{game_id}.gif",
):
path.unlink(missing_ok=True)
elif game.get("version") > self.spec_version:
continue
else:
Game(game).update()