Fixed problem when the excellon drill target directory didn't exist (now created)
This commit is contained in:
parent
41c0c726cd
commit
540a0b080d
|
|
@ -388,6 +388,9 @@ class Plotter(object):
|
|||
if gen_drill:
|
||||
logger.debug("Generating drill files in "+outdir)
|
||||
|
||||
if not os.path.exists(outdir):
|
||||
os.makedirs(outdir)
|
||||
|
||||
if gen_map:
|
||||
drill_writer.SetMapFileFormat(to.map_options.type)
|
||||
logger.debug("Generating drill map type {} in {}"
|
||||
|
|
|
|||
Loading…
Reference in New Issue