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:
authorKalle-Samuli Riihikoski <haikalle@gmail.com>2020-10-13 14:25:27 +0300
committerKalle-Samuli Riihikoski <haikalle@gmail.com>2020-10-13 14:25:47 +0300
commitfe901221d08b03afad9444dcd798dd9ce1c5c744 (patch)
tree11267ce95711f7dd25dbbf402b9efce40522e014
parent6183dcaf543164e5d1940cb4175cfa3583f64866 (diff)
io_coat3D:Don't save empty line to file
-rw-r--r--io_coat3D/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_coat3D/__init__.py b/io_coat3D/__init__.py
index 2dfbeaba..f1fc6a7c 100644
--- a/io_coat3D/__init__.py
+++ b/io_coat3D/__init__.py
@@ -88,7 +88,7 @@ def every_3_seconds():
mTime = os.path.getmtime(Export_folder)
- if (os.path.normpath(global_exchange_folder) != os.path.normpath(coat3D.exchangeFolder)):
+ if (os.path.normpath(global_exchange_folder) != os.path.normpath(coat3D.exchangeFolder) and coat3D.exchangeFolder != ''):
folders.updateExchangeFile(coat3D.exchangeFolder)
return 3.0