Skip to content

Commit

Permalink
format document
Browse files Browse the repository at this point in the history
  • Loading branch information
billbelanger committed Jul 9, 2024
1 parent d38ca89 commit 25c12c3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion db.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ def _output_results_csv(self, output_loc: TextIOWrapper = None):
{"domain": domain, "private": True, "country": "Privacy Protected"})
if FAILED_KEY in self.DB:
for domain in self.DB[FAILED_KEY]:
data.append({"domain": domain, "private": False, "country": "Failed"})
data.append(
{"domain": domain, "private": False, "country": "Failed"})
writer = csv.DictWriter(output_loc, fieldnames=fieldnames)
if output_loc is None:
output_loc = sys.stdout
Expand Down

0 comments on commit 25c12c3

Please sign in to comment.