diff options
author | Aleksandar Trifunovic <akstrfn@gmail.com> | 2018-07-30 11:12:43 +0200 |
---|---|---|
committer | Aleksandar Trifunovic <akstrfn@gmail.com> | 2019-02-01 21:27:57 +0100 |
commit | 203506c9cc2bb2adeb040e5f6c7a74ad6571105e (patch) | |
tree | ebed361391e14b524f8f928a1c634ec2d66db0e0 /main | |
parent | adaa6d64c4466cff986e695d9d69d51a4d05ca59 (diff) | |
download | archweb-203506c9cc2bb2adeb040e5f6c7a74ad6571105e.tar.gz archweb-203506c9cc2bb2adeb040e5f6c7a74ad6571105e.zip |
remove unecessary list calls
Diffstat (limited to 'main')
-rw-r--r-- | main/templatetags/details_link.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/templatetags/details_link.py b/main/templatetags/details_link.py index 948af314..2e68befe 100644 --- a/main/templatetags/details_link.py +++ b/main/templatetags/details_link.py @@ -8,7 +8,7 @@ register = template.Library() def link_encode(url, query): # massage the data into all utf-8 encoded strings first, so urlencode # doesn't barf at the data we pass it - query = {k: str(v).encode('utf-8') for k, v in list(query.items())} + query = {k: str(v).encode('utf-8') for k, v in query.items()} data = urlencode(query) return "%s?%s" % (url, data) |