os-export: fix export file issues

This commit is contained in:
Yanyan Jiang 2020-02-13 00:39:36 +08:00
parent d1bed51677
commit 00bafc5e4c
2 changed files with 3 additions and 1 deletions

View File

@ -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/',

View File

@ -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: