summaryrefslogtreecommitdiff
path: root/tko/db.py
diff options
context:
space:
mode:
Diffstat (limited to 'tko/db.py')
-rw-r--r--tko/db.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tko/db.py b/tko/db.py
index cf5c46cd..7b1f265c 100644
--- a/tko/db.py
+++ b/tko/db.py
@@ -46,6 +46,8 @@ class db:
machine_map = os.path.join(dir, 'machines')
if os.path.exists(machine_map):
self.machine_map = machine_map
+ else:
+ self.machine_map = None
self.machine_group = {}