os-export: fix export file issues
This commit is contained in:
parent
d1bed51677
commit
00bafc5e4c
|
@ -28,8 +28,9 @@ WHITE_LIST = [
|
|||
|
||||
BLACK_LIST = [
|
||||
r'/build/',
|
||||
r'/export/',
|
||||
r'/.git/',
|
||||
r'-navy',
|
||||
r'.git',
|
||||
r'README.md',
|
||||
r'.DS_Store',
|
||||
r'games/nes/gen/',
|
||||
|
|
|
@ -22,6 +22,7 @@ def export(white_list, black_list):
|
|||
white = list_filter(path_str, white_list)
|
||||
black = list_filter(path_str, black_list)
|
||||
if white and not black:
|
||||
print('COPY', path)
|
||||
yield abspath, path
|
||||
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue