allenact icon indicating copy to clipboard operation
allenact copied to clipboard

Fix path normalization on Windows

Open Richienb opened this issue 1 year ago • 1 comments

os.path.abspath uses forward slashes on posix and back slashes on Windows. This is a problem because the next line of code splits the string by (only) forward slashes. Instead, we can use posixpath.normpath which always uses forward slashes.

Richienb avatar Oct 05 '23 22:10 Richienb