Skip to content

Commit

Permalink
Update file access settings #504
Browse files Browse the repository at this point in the history
Signed-off-by: Jono Yang <[email protected]>
  • Loading branch information
JonoYang committed Jul 31, 2024
1 parent 642b755 commit b159b23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions minecode/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -379,10 +379,10 @@ def send_scan_notification(request, key):
extension='.json'
)

with open(scan_results_location, 'wb') as f:
with open(scan_results_location, 'w') as f:
json.dump(results, f)

with open(scan_summary_location, 'wb') as f:
with open(scan_summary_location, 'w') as f:
json.dump(summary, f)

scannable_uri = get_object_or_404(ScannableURI, uuid=scannable_uri_uuid)
Expand Down

0 comments on commit b159b23

Please sign in to comment.