Configtool: there are no simple comments in printer.metadata.
Accordingly, don't try to parse them. If they ever appear, they need handling.
This commit is contained in:
parent
eeee384ed6
commit
e7395c8dd8
|
|
@ -242,9 +242,6 @@ class PrinterPanel(wx.Panel):
|
||||||
ln = prevLines + ln
|
ln = prevLines + ln
|
||||||
prevLines = ""
|
prevLines = ""
|
||||||
|
|
||||||
if ln.lstrip().startswith("//"):
|
|
||||||
continue
|
|
||||||
|
|
||||||
self.parseDefineName(ln)
|
self.parseDefineName(ln)
|
||||||
|
|
||||||
prevLines = ""
|
prevLines = ""
|
||||||
|
|
@ -257,9 +254,6 @@ class PrinterPanel(wx.Panel):
|
||||||
ln = prevLines + ln
|
ln = prevLines + ln
|
||||||
prevLines = ""
|
prevLines = ""
|
||||||
|
|
||||||
if ln.lstrip().startswith("//"):
|
|
||||||
continue
|
|
||||||
|
|
||||||
self.parseDefineValue(ln)
|
self.parseDefineValue(ln)
|
||||||
|
|
||||||
if os.path.basename(fn) in protectedFiles:
|
if os.path.basename(fn) in protectedFiles:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue