Skip to content

Commit

Permalink
fix: file location
Browse files Browse the repository at this point in the history
  • Loading branch information
rcaught committed Dec 16, 2023
1 parent 825ecad commit 0dc7de0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion datasette_updated/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
def get_metadata(datasette, key, database, table):
try:
updated_file = open(
f"{datasette.plugins_dir}/datasette-updated.json", "r", encoding="utf8"
f"{datasette.plugins_dir}/datasette-updated/metadata.json",
"r",
encoding="utf8",
)

with updated_file:
Expand Down

0 comments on commit 0dc7de0

Please sign in to comment.