diff options
| author | rubenwardy <rw@rubenwardy.com> | 2018-03-26 15:17:39 +0100 |
|---|---|---|
| committer | rubenwardy <rw@rubenwardy.com> | 2018-03-26 15:17:42 +0100 |
| commit | 743d1d909fbfb704185475c162f6ae2396272c75 (patch) | |
| tree | c3008fc31cceb2e3823f6e00a2f9e0e6beb4c68a /app/views | |
| parent | 28d967e3e274c1afe797c753c3e996b1c3a710f5 (diff) | |
| download | cheatdb-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.py | 4 |
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 |
