split header line into three to be compatible to the UGS

This commit is contained in:
Teja 2015-04-25 19:18:01 +02:00
parent 40e95f9b5c
commit 5de8f21719

View file

@ -177,7 +177,7 @@ class FileManager(object):
def save(self, absolute_dest_path):
with open(absolute_dest_path, "w") as d:
d.write(";Generated from {stl_name} {hash}\r".format(**vars(self)))
d.write("; Generated from\n; {stl_name}\n; {hash}\r".format(**vars(self)))
with open(tmp_path, "r") as s:
import shutil
shutil.copyfileobj(s, d)