Skip to content

Commit

Permalink
fix: correct formatting of src.path.root
Browse files Browse the repository at this point in the history
  • Loading branch information
TianyiQ committed Nov 28, 2024
1 parent 2116d28 commit a58dcd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/path.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import os, sys
root = "src".join(os.path.dirname(os.path.abspath(__file__)).split("src")[:-1])
root = "src".join(os.path.dirname(os.path.abspath(__file__)).split("src")[:-1]).strip("/").strip("\\")
print(f"Library root directory: {root}")

0 comments on commit a58dcd6

Please sign in to comment.