Skip to content

Commit 81a0019

Browse files
committed
Merge branch 'fix-switches' of github.com:johnseekins/ice_detention_scraper into fix-switches
2 parents 005be10 + d0e26f1 commit 81a0019

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

main.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def main() -> None:
121121
# todo. temporary notice for debug arguments.
122122
if args.debug_wikipedia or args.debug_wikidata or args.debug_osm:
123123
logger.warning(
124-
"Warning: --debug-wikipedia, --debug-wikidata and --debug-osm are currently not implemented as command line options."
124+
" Warning: --debug-wikipedia, --debug-wikidata and --debug-osm are currently not implemented as command line options."
125125
)
126126
if args.scrape and args.load_existing:
127127
logger.error("Can't scrape and load existing data!")
@@ -143,13 +143,13 @@ def main() -> None:
143143
elif args.enrich:
144144
facilities_data = copy.deepcopy(default_data.facilities_data)
145145
logger.warning(
146-
"Did not supply --scrape or --load-existing. Proceeding with default data set (%s facilities)",
146+
" Did not supply --scrape or --load-existing. Proceeding with default data set (%s facilities)",
147147
len(facilities_data["facilities"].keys()), # type: ignore [attr-defined]
148148
)
149149

150150
if args.enrich:
151151
if not facilities_data:
152-
logger.warning("No facility data available for enrichment.")
152+
logger.warning(" No facility data available for enrichment.")
153153
return
154154
facilities_data = enrich_facility_data(facilities_data, args.enrich_workers)
155155

@@ -160,7 +160,7 @@ def main() -> None:
160160
export_to_file(facilities_data, output_filename, args.file_type)
161161
print_summary(facilities_data)
162162
else:
163-
logger.warning("No data to export!")
163+
logger.warning(" No data to export!")
164164

165165

166166
if __name__ == "__main__":

0 commit comments

Comments
 (0)