aboutsummaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2018-03-26 15:17:39 +0100
committerrubenwardy <rw@rubenwardy.com>2018-03-26 15:17:42 +0100
commit743d1d909fbfb704185475c162f6ae2396272c75 (patch)
treec3008fc31cceb2e3823f6e00a2f9e0e6beb4c68a /app/views
parent28d967e3e274c1afe797c753c3e996b1c3a710f5 (diff)
downloadcheatdb-743d1d909fbfb704185475c162f6ae2396272c75.tar.xz
Add ability to suggest tag changes using edit requests
Fixes #36
Diffstat (limited to 'app/views')
-rw-r--r--app/views/packages.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/packages.py b/app/views/packages.py
index d9f0717..e532d3f 100644
--- a/app/views/packages.py
+++ b/app/views/packages.py
@@ -265,8 +265,8 @@ def create_editrequest_page(ptype, author, name):
change = EditRequestChange()
change.request = erequest
change.key = e
- change.oldValue = str(oldValue)
- change.newValue = str(newValue)
+ change.oldValue = e.convert(oldValue)
+ change.newValue = e.convert(newValue)
db.session.add(change)
wasChangeMade = True