From 9e3865d88146cb2bb1c7406e333a93d92c1e7afc Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Tue, 26 May 2020 19:28:14 -0300 Subject: [PATCH] Removed another redundant makedirs. --- kiplot/kiplot.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/kiplot/kiplot.py b/kiplot/kiplot.py index 090a92c4..03a7ccb6 100644 --- a/kiplot/kiplot.py +++ b/kiplot/kiplot.py @@ -407,8 +407,6 @@ class Plotter(object): modulesStr, maxSizes): to = output.options.type_options outdir = plot_ctrl.GetPlotOptions().GetOutputDirectory() - if not os.path.exists(outdir): - os.makedirs(outdir) name = os.path.splitext(os.path.basename(board.GetFileName()))[0] topf = None