Skip to content

Commit

Permalink
Merge pull request #482 from swirlai/fix-DS-702
Browse files Browse the repository at this point in the history
Append to log files
  • Loading branch information
sid-swirl authored Jul 26, 2023
2 parents 167fc03 + ddab06b commit 8919854
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion swirl.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def launch(name, path):

# create the log file
try:
f = open(f'./logs/{name}.log', 'wb')
f = open(f'./logs/{name}.log', 'ab')
except OSError as err:
print(f"Error: {err} creating: ./logs/{name}.log")
return -1
Expand Down

0 comments on commit 8919854

Please sign in to comment.