mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
Merge pull request #360 from erikarvstedt/fix-incompatibility
Fix incompatibility with Python versions < 3.6
This commit is contained in:
commit
d6346706db
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user