Error and warning messages
This commit is contained in:
@ -533,6 +533,8 @@ 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)
|
||||
else:
|
||||
print("warning: ignoring line "+str(i)+" in file '"+file+"': unrecognized option '"+key+"'",file=sys.stderr)
|
||||
continue
|
||||
|
||||
entries=line.split(";")
|
||||
|
Reference in New Issue
Block a user