diff options
author | Kalle-Samuli Riihikoski <haikalle@gmail.com> | 2020-11-22 15:23:58 +0300 |
---|---|---|
committer | Kalle-Samuli Riihikoski <haikalle@gmail.com> | 2020-11-22 15:23:58 +0300 |
commit | 075a0e12cdc06c99079bf8867304b23fe2e1fb60 (patch) | |
tree | f2072fb2b96015da7316ac5e8813e54297c581b1 | |
parent | b4ca385ac92d1ab362a503760a0622b5774ea2cb (diff) |
io_coat3D: hotfix for last update
-rw-r--r-- | io_coat3D/folders.py | 8 |
1 files changed, 4 insertions, 4 deletions
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 |