Skip to content

Commit

Permalink
Fix uid/site/None being generated
Browse files Browse the repository at this point in the history
  • Loading branch information
iBug committed May 26, 2018
1 parent 825e5d6 commit e619ee2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def api_parameter_from_link(link):
return None


id_parser_regex = r'https?://[^/]+/\w+/(\d+)'
id_parser_regex = r'(?:https?:)?//[^/]+/\w+/(\d+)'
id_parser = regex.compile(id_parser_regex)


Expand Down

0 comments on commit e619ee2

Please sign in to comment.