diff options
author | 2018-04-16 21:24:20 +0200 | |
---|---|---|
committer | 2018-04-16 21:24:20 +0200 | |
commit | 73385720f33ce90027183f001b9146749d647cbf (patch) | |
tree | 58c50bb17b304dc1a8bcd87b003ff412a5c651ed /pysite | |
parent | I guess we were testing for log level handling. Removed these tests. We alway... (diff) |
JSON file had the wrong name. I should be incarcerated.
Diffstat (limited to 'pysite')
-rw-r--r-- | pysite/database.py | 2 | ||||
-rw-r--r-- | pysite/database/table_init/hiphopify_namelist.json (renamed from pysite/database/table_init/hiphoppers.json) | 0 |
2 files changed, 1 insertions, 1 deletions
diff --git a/pysite/database.py b/pysite/database.py index 2603f125..18a9dc0d 100644 --- a/pysite/database.py +++ b/pysite/database.py @@ -89,7 +89,7 @@ class RethinkDB: if not self.pluck(table, primary_key): self.log.trace(f"{table} appears to be empty. Checking if there is a json file at {os.getcwd()}" - f"pysite/database/table_init/{table}.json") + f"/pysite/database/table_init/{table}.json") # And a corresponding JSON file exists if os.path.isfile(f"pysite/database/table_init/{table}.json"): diff --git a/pysite/database/table_init/hiphoppers.json b/pysite/database/table_init/hiphopify_namelist.json index d408f5b3..d408f5b3 100644 --- a/pysite/database/table_init/hiphoppers.json +++ b/pysite/database/table_init/hiphopify_namelist.json |