commit 6cacb642389f24d21ca83ee9e39f04d19db7efed parent 13b74bee1f22b9501d6ee65b2c0732f0ed876d2f Author: nolash <dev@holbrook.no> Date: Tue, 14 Sep 2021 22:57:24 +0200 Add auto create dir Diffstat:
M | pylibswarm/runnable/file.py | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/pylibswarm/runnable/file.py b/pylibswarm/runnable/file.py @@ -20,6 +20,7 @@ class Outputter: def __init__(self, outdir): self.outdir = outdir + os.makedirs(self.outdir, exist_ok=True) logg.info('outputter set to {}'.format(self.outdir))