The python os
module seems to be incorrectly joining paths. To replicate, simply run the following code:
import os
p1 = "/1/2"
p2 = "/3/4"
print(os.path.join(p1,p2))
Which will print "/3/4"
. Is this the expected behaviour? I would expect it to print "/1/2/3/4"