Skip to content

Commit

Permalink
Path Split at last point instead of first. Issue #177
Browse files Browse the repository at this point in the history
  • Loading branch information
aniketinamdar committed Jun 10, 2024
1 parent 40aefc5 commit c5f08cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion marker/output.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@


def get_subfolder_path(out_folder, fname):
subfolder_name = fname.split(".")[0]
subfolder_name = fname.rsplit('.', 1)[0]
subfolder_path = os.path.join(out_folder, subfolder_name)
return subfolder_path

Expand Down

0 comments on commit c5f08cd

Please sign in to comment.