Skip to content

Commit

Permalink
Change sqlite_schema to sqlite_master
Browse files Browse the repository at this point in the history
  • Loading branch information
CPBridge committed Jan 8, 2025
1 parent fbca792 commit 9b6ecac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/highdicom/image.py
Original file line number Diff line number Diff line change
Expand Up @@ -2274,7 +2274,7 @@ def _generate_temp_tables(
# it does seem to happen when interactive REPLs such as ipython
# handle errors within the context manager
query = (
"SELECT COUNT(*) FROM sqlite_schema "
"SELECT COUNT(*) FROM sqlite_master "
f"WHERE type = 'table' AND name = '{tdef.table_name}'"
)
result = next(self._db_con.execute(query))[0]
Expand Down

0 comments on commit 9b6ecac

Please sign in to comment.