From 5de8f2171900915500bb257826ece35fe065795a Mon Sep 17 00:00:00 2001 From: Teja Date: Sat, 25 Apr 2015 19:18:01 +0200 Subject: [PATCH] split header line into three to be compatible to the UGS --- src/octoprint/filemanager/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/octoprint/filemanager/__init__.py b/src/octoprint/filemanager/__init__.py index a89f3482..3af58806 100644 --- a/src/octoprint/filemanager/__init__.py +++ b/src/octoprint/filemanager/__init__.py @@ -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)