We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a30aee1 commit 50d3beaCopy full SHA for 50d3bea
pywavefront/texture.py
@@ -32,7 +32,7 @@
32
# POSSIBILITY OF SUCH DAMAGE.
33
# ----------------------------------------------------------------------------
34
import pywavefront
35
-from pathlib import Path, WindowsPath
+from pathlib import Path, PureWindowsPath
36
import re
37
38
@@ -90,7 +90,7 @@ def file_name(self):
90
textures real location.
91
"""
92
if ':' in self._name or '\\' in self._name:
93
- return WindowsPath(self._name).name
+ return PureWindowsPath(self._name).name
94
95
return Path(self._name).name
96
0 commit comments