mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	Fix incompatibility with Python versions < 3.6
Direct index access to a match was only added in 3.6. Fixes #359
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Erik Arvstedt
					Erik Arvstedt