aboutsummaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2018-03-26 12:42:35 +0100
committerrubenwardy <rw@rubenwardy.com>2018-03-26 12:42:40 +0100
commit536da2add2062a9bf76029c7409319d717e6ed6a (patch)
tree7a57aa9f59ccc662e758043413a3c79008d3a399 /setup.py
parent39ef7128177c6e16434201ce2e8e3513a8d82cb7 (diff)
downloadcheatdb-536da2add2062a9bf76029c7409319d717e6ed6a.tar.xz
Add tag selecting in edit package
Fixes #35
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index 0db122a..6ad5217 100644
--- a/setup.py
+++ b/setup.py
@@ -40,7 +40,7 @@ if not os.path.isfile("db.sqlite"):
"Environment", "Transport", "Maintenance", "Plants and farming", \
"PvP", "PvE", "Survival", "Creative", "Puzzle", "Multiplayer", "Singleplayer"]:
row = Tag(tag)
- tags[row.getName()] = row
+ tags[row.name] = row
db.session.add(row)