I mentioned that I'd made a pull request for datasette and Windows path handling, and then forgot to talk about what my fix involved.
Basically, Datasette as it stands feels that colons have no business in file paths. Windows on the other hand?
C:\
Consequently my pull request revolved around changing datasette/utils/__init__.py by adding the following code:
The code checks for a Windows style path specification. If it finds it, it gently moves the rest of the code around that first offending colon.
Comments
Post a Comment
Please leave your comments on this topic: