aboutsummaryrefslogtreecommitdiffstats
path: root/pysite/database.py
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2018-04-07 13:40:08 +0100
committerGravatar Gareth Coles <[email protected]>2018-04-07 13:40:08 +0100
commit53e2b2a747beae9b7345dd9946940f33cdab6722 (patch)
tree4425f09a1947379be0e5b165b316f7ae3d4702aa /pysite/database.py
parentFix logging in gunicorn_config (diff)
Fix stupid error
Diffstat (limited to 'pysite/database.py')
-rw-r--r--pysite/database.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pysite/database.py b/pysite/database.py
index f53b9e60..015eeb13 100644
--- a/pysite/database.py
+++ b/pysite/database.py
@@ -41,7 +41,7 @@ class RethinkDB:
def create_tables(self) -> int:
created = 0
- for table, primary_key in ALL_TABLES.values():
+ for table, primary_key in ALL_TABLES.items():
if self.create_table(table, primary_key):
created += 1