Skip to content

Commit

Permalink
Fix Windows path of .py to convert to .xlsx
Browse files Browse the repository at this point in the history
  • Loading branch information
Bachibouzouk committed May 13, 2024
1 parent 68ec661 commit ef0d223
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ramp/ramp_convert_old_input_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def convert_old_user_input_file(
output_fname = os.path.join(output_path, output_fname)

if os.name != "posix":
sys.path.insert(0, os.path.abspath(fname_path))
sys.path.insert(0, os.path.dirname(os.path.abspath(fname_path)))
file_module = importlib.import_module(fname)

user_list = file_module.User_list
Expand Down

0 comments on commit ef0d223

Please sign in to comment.