Skip to content

Commit

Permalink
fix pylint error that did not show up when checking before committing
Browse files Browse the repository at this point in the history
  • Loading branch information
kchilleri authored Apr 10, 2024
1 parent 84d9b92 commit 4ef4457
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions beeflow/common/worker/flux_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ def build_jobspec(self, task):
jobspec.stderr = f'{task_save_path}/{task.name}-{task.id}.err'
jobspec.environment = dict(os.environ)
# Save the script for later reference
with open(f'{task_save_path}/{task.name}-{task.id}.sh', 'w', encoding='utf-8') as file_path:
file_path.write(script)
with open(f'{task_save_path}/{task.name}-{task.id}.sh', 'w', encoding='utf-8') as f_path:
f_path.write(script)
return jobspec

def submit_task(self, task):
Expand Down

0 comments on commit 4ef4457

Please sign in to comment.