Skip to content

Commit

Permalink
Filter Butler imported games
Browse files Browse the repository at this point in the history
  • Loading branch information
tauqua committed Mar 9, 2022
1 parent be5c2af commit 1d643a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/localClientDbReader.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ async def get_games(self):
logging.debug("Opening connection to itch butler.db")
self.itch_db = sqlite3.connect(ITCH_DB_PATH)
self.itch_db_cursor = self.itch_db.cursor()
resp = list(self.itch_db_cursor.execute("SELECT * FROM games"))
resp = list(self.itch_db_cursor.execute("SELECT * FROM games WHERE classification = 'game'"))
downloaded = [x[0] for x in list(self.itch_db_cursor.execute("SELECT game_id FROM caves"))]
self.itch_db.close()
logging.debug("Closing connection to itch butler.db")
Expand Down

0 comments on commit 1d643a9

Please sign in to comment.