Skip to content

Commit

Permalink
FIle needed to be opened with newline='' for CSV writer in Python 3
Browse files Browse the repository at this point in the history
  • Loading branch information
Bryant Howell committed May 21, 2020
1 parent f222687 commit e8e08a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/permissions_auditing.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
default.enable_logging(logger)
default.signin()

with open('permissions_audit.txt', 'w') as output_file:
with open('permissions_audit.txt', 'w', newline='') as output_file:

# Get all sites content urls for logging in
site_content_urls = default.query_all_site_content_urls()
Expand Down

0 comments on commit e8e08a3

Please sign in to comment.