Skip to content

Commit

Permalink
Update Bundle_ASH_script.py
Browse files Browse the repository at this point in the history
  • Loading branch information
fredg1 authored Dec 1, 2020
1 parent cb65306 commit 2f44f43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Bundle_ASH_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ def bundle_and_write(path_to_file,path_to_result,path_to_folder = '',allow_overw
open_mode = 'w'

path_to_target_dir = os.path.dirname(path_to_result)
if not os.path.exists( path_to_target_dir ):
if not path_to_target_dir == '' and not os.path.exists( path_to_target_dir ):
os.makedirs( path_to_target_dir )

imported_files = []
Expand Down

0 comments on commit 2f44f43

Please sign in to comment.