Skip to content
This repository has been archived by the owner on Feb 19, 2021. It is now read-only.

Commit

Permalink
Merge pull request #360 from erikarvstedt/fix-incompatibility
Browse files Browse the repository at this point in the history
Fix incompatibility with Python versions < 3.6
  • Loading branch information
danielquinn committed Jun 1, 2018
2 parents 52b32fd + 48738da commit d634670
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/documents/templatetags/hacks.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ def add_doc_edit_url(result):
"""
title = result[1]
match = re.search(EXTRACT_URL, title)
edit_doc_url = match[1]
edit_doc_url = match.group(1)
result.append(edit_doc_url)
return result

0 comments on commit d634670

Please sign in to comment.