B"H rearrange vdir code in a clearer fashion
This commit is contained in:
parent
55e0dd0609
commit
5aab757fd9
2 changed files with 34 additions and 17 deletions
|
@ -7,11 +7,8 @@ ALBUM = 'album'
|
|||
DIRECTORY = 'directory'
|
||||
VDIR = 'vdir'
|
||||
PREFIX = 'subidy'
|
||||
ROOT = 'root'
|
||||
SEARCH = 'search'
|
||||
|
||||
ROOT_URI = '%s:%s:%s' % (PREFIX, VDIR, ROOT)
|
||||
|
||||
regex = re.compile(r'(\w+?):(\w+?)(?::|$)(.+?)?$')
|
||||
|
||||
def is_type_result_valid(result):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue