View Single Post
Old 02-15-2018, 02:44 PM   #339
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,939
Karma: 6361444
Join Date: Nov 2009
Device: many
Hi DiapDealer,

The python urllib.parse routine when passed in a href or url will parse it into the network, scheme, path, and etc.

On Windows does it properly create a windows style path (with backslash separators) or does it create a url style path that always uses the forward slash?

Every where else I use os.path.join but I was unsure what the output looked like on Windows


Update:

I checked the code inside Python source tree and it seems to leave as a network local path (forward slash) and not a backwards Windows path.

So I have added a workaround to hopefully fix this to my previous post:

Access-Aide_v031.zip should hopefully work on Windows too once the nsvg2png is added.

Last edited by KevinH; 02-15-2018 at 03:10 PM.
KevinH is offline   Reply With Quote