diff --git a/src/Mod/Path/Path/Main/Gui/Sanity.py b/src/Mod/Path/Path/Main/Gui/Sanity.py index 5603d45b34..f668906c7e 100644 --- a/src/Mod/Path/Path/Main/Gui/Sanity.py +++ b/src/Mod/Path/Path/Main/Gui/Sanity.py @@ -425,7 +425,7 @@ class CommandPathSanity: machineLabel = translate("Path_Sanity", "Machine") postLabel = translate("Path_Sanity", "Postprocessor") flagsLabel = translate("Path_Sanity", "Post Processor Flags") - fileSizeLabel = translate("Path_Sanity", "File Size (kb)") + fileSizeLabel = translate("Path_Sanity", "File Size (kB)") lineCountLabel = translate("Path_Sanity", "Line Count") outTable += "|*{}*|{}\n".format(gcodeFileLabel, d["lastgcodefile"]) @@ -845,7 +845,7 @@ class CommandPathSanity: data["linecount"] = str(0) self.squawk("PathSanity", "The Job has not been post-processed") else: - data["filesize"] = str(os.path.getsize(obj.LastPostProcessOutput)) + data["filesize"] = str(os.path.getsize(obj.LastPostProcessOutput)/1000) data["linecount"] = str( sum(1 for line in open(obj.LastPostProcessOutput)) )