io_coat3D: remove variable not used
This commit is contained in:
parent
0496bc5f63
commit
d3915b5208
|
@ -92,7 +92,6 @@ def folder_size(path):
|
|||
def set_exchange_folder():
|
||||
platform = os.sys.platform
|
||||
coat3D = bpy.context.scene.coat3D
|
||||
source = ''
|
||||
|
||||
if(platform == 'win32' or platform == 'darwin'):
|
||||
exchange = os.path.expanduser("~") + os.sep + 'Documents' + os.sep + 'Applinks' + os.sep + '3D-Coat' + os.sep +'Exchange'
|
||||
|
@ -120,7 +119,7 @@ def set_exchange_folder():
|
|||
if(not(os.path.isdir(applink_folder))):
|
||||
os.makedirs(applink_folder)
|
||||
|
||||
if(os.path.isfile(exchange_path) == False):
|
||||
if(os.path.isfile(exchange_path) == False or os.path.getsize(exchange_path) == 0):
|
||||
|
||||
file = open(exchange_path, "w")
|
||||
file.write("%s"%(exchange_path))
|
||||
|
|
Loading…
Reference in New Issue