oops
This commit is contained in:
parent
e4bbca3c33
commit
d325e410dc
1 changed files with 1 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ class AuMBrowser(BaseBrowser):
|
|||
|
||||
def url2id(func):
|
||||
def inner(self, id, *args, **kwargs):
|
||||
m = re.match('^http://.*adopteunmec.com.*/(\d+)$', id)
|
||||
m = re.match('^http://.*adopteunmec.com.*/(\d+)$', str(id))
|
||||
if m:
|
||||
id = int(m.group(1))
|
||||
return func(self, id, *args, **kwargs)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue