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.
I have not yet succeeding in running allenact on Windows, this pr contains a change I made which fixes an error that was thrown, though there are likely more.
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 useposixpath.normpath
which always uses forward slashes.