forked from 0x2620/oxjs
fix build without examples, version can contain more than numbers
This commit is contained in:
parent
9651cec448
commit
bb931c006f
2 changed files with 2 additions and 2 deletions
|
|
@ -257,7 +257,7 @@ def build_oxjs(downloads=False, geo=False):
|
|||
lambda x: not re.search('^[._]', x),
|
||||
os.listdir(root_path + 'examples/')
|
||||
))
|
||||
), [])),
|
||||
), [])) if os.path.exists(root_path + 'examples/') else (),
|
||||
'readme': list(map(
|
||||
lambda x: {
|
||||
'date': time.strftime(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue