Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-03-11 04:25:23 +0300
committerCampbell Barton <ideasman42@gmail.com>2011-03-11 04:25:23 +0300
commitaaecbff7de05630c320dac1e9b10b0f6eaee1ee4 (patch)
tree5c7911965407ff714fcecd2670b5b9c9531d0d08 /modules
parent19bebf23624bc784ab750098d4db39d3d31d4e53 (diff)
minor change to platform checks
Diffstat (limited to 'modules')
-rw-r--r--modules/extensions_framework/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/extensions_framework/util.py b/modules/extensions_framework/util.py
index 93d31f64..f1c62897 100644
--- a/modules/extensions_framework/util.py
+++ b/modules/extensions_framework/util.py
@@ -54,7 +54,7 @@ def path_relative_to_export(p):
p = filesystem_path(p)
ep = os.path.dirname(export_path)
- if os.sys.platform == 'win32':
+ if os.sys.platform[:3] == "win":
# Prevent an error whereby python thinks C: and c: are different drives
if p[1] == ':': p = p[0].lower() + p[1:]
if ep[1] == ':': ep = ep[0].lower() + ep[1:]