From 54b07dd1e16dac988f4397d876721904d72f264e Mon Sep 17 00:00:00 2001 From: Ben RdO Date: Wed, 18 Sep 2019 16:26:34 -0700 Subject: [PATCH] fix: Solve path of lockfile (#54) --- powersimdata/scenario/create.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/powersimdata/scenario/create.py b/powersimdata/scenario/create.py index 3f358f75e..04f8f288d 100644 --- a/powersimdata/scenario/create.py +++ b/powersimdata/scenario/create.py @@ -72,7 +72,7 @@ def _generate_scenario_id(self): echo $id, >> %s; \ echo $id) 200>%s" % (const.SCENARIO_LIST, const.SCENARIO_LIST, - os.path.join(const.HOME_DIR, 'scenario.lockfile'))) + posixpath.join(const.HOME_DIR, 'scenario.lockfile'))) stdin, stdout, stderr = self._ssh.exec_command(script) err_message = stderr.readlines()