From 37951b465a21970263c36b41dd2bdc1c651e2d16 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Sun, 22 Jan 2017 17:36:21 +0100 Subject: [PATCH] Fix handling of empty src dir --- sbysrc/sby_core.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sbysrc/sby_core.py b/sbysrc/sby_core.py index 17400c4..df47503 100644 --- a/sbysrc/sby_core.py +++ b/sbysrc/sby_core.py @@ -227,6 +227,8 @@ class SbyJob: self.logfile.flush() def copy_src(self): + os.makedirs(self.workdir + "/src") + for dstfile, srcfile in self.files.items(): dstfile = self.workdir + "/src/" + dstfile -- 2.30.2