Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
sdp5 committed Jan 23, 2019
1 parent e46d195 commit 802d305
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dashboard/engine/action_mapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,8 @@ def files(self, input, kwargs):

try:
trans_files = []
for root, dirs, files in os.walk(input['extract_dir']):
search_dir = input['extract_dir'] if 'extract_dir' in input else input['src_tar_dir']
for root, dirs, files in os.walk(search_dir):
for file in files:
if file.endswith('.%s' % file_ext):
trans_files.append(os.path.join(root, file))
Expand Down

0 comments on commit 802d305

Please sign in to comment.