Material: code formating, spaces

This commit is contained in:
Bernd Hahnebach
2020-01-05 23:33:29 +01:00
parent 54c4341beb
commit ad39095847

View File

@@ -204,7 +204,7 @@ def write(filename, dictionary, write_group_section=True):
FreeCAD.Console.PrintMessage("File CardName is used: {}\n".format(card_name_file))
if sys.version_info.major >= 3:
f.write("; " + card_name_file + "\n")
#f.write("; " + header["AuthorAndLicense"] + "\n")
# f.write("; " + header["AuthorAndLicense"] + "\n")
f.write("; " + header.get("AuthorAndLicense", "no author") + "\n")
else:
f.write("; " + header["CardName"].encode("utf8") + "\n")