This is an issue I encountered a long time ago and just fixed in my own version but I figured I should mention here too. For me, the original code returns an error that this change fixes. According to the os.path.splitext documentation, this also makes more sense.
This is an issue I encountered a long time ago and just fixed in my own version but I figured I should mention here too. For me, the original code returns an error that this change fixes. According to the os.path.splitext documentation, this also makes more sense.