Skip to content

Commit 8631e6c

Browse files
committed
Add resolving of symlinks
1 parent eb35d15 commit 8631e6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
from pathlib import Path
22
import sys
33

4-
print(f"filename.py:{Path(sys.argv[1]).name}")
4+
print(f"filename.py:{Path(sys.argv[1]).resolve().name}")

0 commit comments

Comments
 (0)