support urls with '-' in the name of project
This commit is contained in:
parent
e50c1c9036
commit
b64ca36fbe
1 changed files with 2 additions and 2 deletions
|
|
@ -35,8 +35,8 @@ class RedmineBrowser(BaseBrowser):
|
|||
PAGES = {'%s/': IndexPage,
|
||||
'%s/login': LoginPage,
|
||||
'%s/my/page': MyPage,
|
||||
'%s/projects/(\w+)/wiki/(\w+)/edit': WikiEditPage,
|
||||
'%s/projects/\w+/wiki/\w*': WikiPage,
|
||||
'%s/projects/([\w-]+)/wiki/(\w+)/edit': WikiEditPage,
|
||||
'%s/projects/[\w-]+/wiki/\w*': WikiPage,
|
||||
}
|
||||
|
||||
def __init__(self, url, *args, **kwargs):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue