io_coat3D:Don't save empty line to file

This commit is contained in:
Kalle-Samuli Riihikoski 2020-10-13 14:25:27 +03:00
parent 6183dcaf54
commit fe901221d0
1 changed files with 1 additions and 1 deletions

View File

@ -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