Initialize variable
authorMiodrag Milanovic <mmicko@gmail.com>
Wed, 25 Aug 2021 09:38:24 +0000 (11:38 +0200)
committerMiodrag Milanovic <mmicko@gmail.com>
Wed, 25 Aug 2021 09:38:24 +0000 (11:38 +0200)
sbysrc/sby.py

index 4f7e40c0e3ec169efce833b1f1523b4050e35eaa..90c84552ca21b6cda4156b8666ee5d706cb4b076 100644 (file)
@@ -335,6 +335,7 @@ if (workdir is not None) and (len(tasknames) != 1):
 
 def run_job(taskname):
     my_opt_tmpdir = opt_tmpdir
+    my_workdir = None
 
     if workdir is not None:
         my_workdir = workdir