ruff format

This commit is contained in:
Kadir 2024-03-25 20:48:48 +00:00
parent 37e3e8ad6f
commit d777558b34
17 changed files with 411 additions and 368 deletions

View file

@ -7,11 +7,11 @@ from data_access import Listing
for listing in tqdm(Listing.get_all_listings()):
if listing.path_detail_json().exists():
continue
try:
d = detail_query(listing.identifier)
with open(listing.path_detail_json(), 'w') as f:
with open(listing.path_detail_json(), "w") as f:
json.dump(d, f)
except:
print('Failed at: ', listing.identifier)
print("Failed at: ", listing.identifier)
raise