From 3bd7249d48ab3a0e2dddf63fae8747ee6df1568d Mon Sep 17 00:00:00 2001
From: brunner <amvdw95@gmail.com>
Date: Fri, 9 Nov 2018 10:10:31 +0000
Subject: [PATCH]

---
 da/tools/initexit.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/da/tools/initexit.py b/da/tools/initexit.py
index 5418ec13..fa6c1dcf 100755
--- a/da/tools/initexit.py
+++ b/da/tools/initexit.py
@@ -566,7 +566,7 @@ class CycleControl(dict):
                 nextrestartfilename = self['da.restart.fname'].replace(jobid,nextjobid)
                 nextlogfilename = logfile.replace(jobid,nextjobid)
                 if self.daplatform.ID == 'WU capegrim':
-                    template += '\nexport icycle_in_job=%d\npython %s rc=%s %s >&%s &\n' % (cycle+1,execcommand, nextrestartfilename, join(str(self.opts), ''), nextlogfilename,)
+                    template += '\nexport icycle_in_job=%d\npython %s rc=%s %s >&%s &\n' % (cycle+1,execcommand, nextrestartfilename, str.join(str(self.opts), ''), nextlogfilename,)
                 else: 
                     template += '\nexport icycle_in_job=%d\npython %s rc=%s %s >&%s\n' % (cycle+1,execcommand, nextrestartfilename, str.join(str(self.opts), ''), nextlogfilename,) 
 
-- 
GitLab