[Bf-extensions-cvs] [075a0e12] master: io_coat3D: hotfix for last update
Kalle-Samuli Riihikoski
noreply at git.blender.org
Sun Nov 22 13:24:04 CET 2020
Commit: 075a0e12cdc06c99079bf8867304b23fe2e1fb60
Author: Kalle-Samuli Riihikoski
Date: Sun Nov 22 14:23:58 2020 +0200
Branches: master
https://developer.blender.org/rBA075a0e12cdc06c99079bf8867304b23fe2e1fb60
io_coat3D: hotfix for last update
===================================================================
M io_coat3D/folders.py
===================================================================
diff --git a/io_coat3D/folders.py b/io_coat3D/folders.py
index 36471b98..ab143083 100644
--- a/io_coat3D/folders.py
+++ b/io_coat3D/folders.py
@@ -18,17 +18,17 @@ def InitFolders():
else:
DC2Folder = os.path.expanduser("~") + os.sep + '3DC2Blender'
- exchangeFolderFile = DC2Folder + os.sep + 'Exchange_folder.txt'
+ exchangeFile = DC2Folder + os.sep + 'Exchange_folder.txt'
if(not os.path.isdir(DC2Folder)):
os.mkdir(DC2Folder)
- if(not os.path.isfile(exchangeFolderFile)):
- file = open(exchangeFolderFile, 'w')
+ if(not os.path.isfile(exchangeFile)):
+ file = open(exchangeFile, 'w')
file.close()
else:
savedExchangePath = ''
- folderPath = open(exchangeFolderFile)
+ folderPath = open(exchangeFile)
for line in folderPath:
savedExchangePath = line
More information about the Bf-extensions-cvs
mailing list