Add tag selecting in edit package

Fixes #35
This commit is contained in:
rubenwardy
2018-03-26 12:42:35 +01:00
parent 39ef712817
commit 536da2add2
5 changed files with 11 additions and 4 deletions

View File

@@ -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)