Remove SkipDisclaimer config option

It didn't work anyway. Use -s command line option
This commit is contained in:
olegart 2016-01-18 21:34:39 +03:00
parent 7726c0cc3c
commit 18b52747c4
2 changed files with 0 additions and 4 deletions

View File

@ -24,7 +24,6 @@ import aptable
Config = {
'measurementunits': 'inch', # Unit system to use: inch or mm
'searchtimeout': 0, # moved here from hardcoded below
'skipdisclaimer': 0, # set to 1 to skip disclaimer prompt
'xspacing': 0, # Spacing in horizontal direction - default is set in parseConfigFile based on units
'yspacing': 0, # Spacing in vertical direction - ditto
'panelwidth': '12.6', # X-Dimension maximum panel size (Olimex)

View File

@ -247,9 +247,6 @@ def writeCropMarks(fid, drawing_code, OriginX, OriginY, MaxXExtent, MaxYExtent):
fid.write('X%07dY%07dD01*\n' % (util.in2gerb(x+cropW), util.in2gerb(y+0.000)))
def disclaimer():
if (config.Config['skipdisclaimer'] > 0): # remove annoying disclaimer
return
print """
****************************************************
* R E A D C A R E F U L L Y *