no need to escape . inside []
This commit is contained in:
parent
e6dafbb874
commit
ec87a5c51c
1 changed files with 2 additions and 2 deletions
|
@ -172,7 +172,7 @@ def build_oxjs(downloads=False, geo=False):
|
|||
['Geo', 'Image', 'Unicode']
|
||||
)),
|
||||
'examples': filter(
|
||||
lambda x: not re.search('^[\._]', x),
|
||||
lambda x: not re.search('^[._]', x),
|
||||
os.listdir(root_path + 'examples/')
|
||||
),
|
||||
'readme': map(
|
||||
|
@ -185,7 +185,7 @@ def build_oxjs(downloads=False, geo=False):
|
|||
'title': get_title(root_path + 'readme/html/' + x)
|
||||
},
|
||||
filter(
|
||||
lambda x: not re.search('^[\._]', x),
|
||||
lambda x: not re.search('^[._]', x),
|
||||
os.listdir(root_path + 'readme/html/')
|
||||
)
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue