Save lattice in conf file

This commit is contained in:
2024-02-21 17:10:33 -05:00
parent 37f8d181c2
commit 0070094b94
2 changed files with 50 additions and 1 deletions

View File

@ -533,6 +533,9 @@ class Painter(Widget):
self.set_color((float(color_str[0]),float(color_str[1]),float(color_str[2])))
except:
print("warning: ignoring line "+str(i)+" in file '"+file+"': color '"+color_str+"' cannot be read",file=sys.stderr)
# lattice is handled by main function
elif key=="lattice":
continue
else:
print("warning: ignoring line "+str(i)+" in file '"+file+"': unrecognized option '"+key+"'",file=sys.stderr)
continue