Add option to import Steam games from Lutris

This commit is contained in:
kramo
2023-04-05 10:13:22 +02:00
parent 41f7ce3d5f
commit 725e4027f2
4 changed files with 20 additions and 1 deletions

View File

@@ -83,7 +83,7 @@ def lutris_parser(parent_widget):
# No need to unlink temp files as they disappear when the connection is closed
database_tmp_path.unlink(missing_ok=True)
if schema.get_boolean("steam"):
if not schema.get_boolean("lutris-import-steam"):
rows = [row for row in rows if not row[3] == "steam"]
current_time = int(time())