Format Python code with psf/black push

github-actions 1 year ago
parent 27b63f28d3
commit 335ef5a4c9

@ -792,7 +792,7 @@ class Index_handler:
)
# Save the composed index
tree_index.save_to_disk(app_root_path()/"indexes"/str(user_id)/name)
tree_index.save_to_disk(app_root_path() / "indexes" / str(user_id) / name)
self.index_storage[user_id].queryable_index = tree_index
@ -822,7 +822,7 @@ class Index_handler:
name = f"composed_index_{date.today().month}_{date.today().day}.json"
# Save the composed index
simple_index.save_to_disk(app_root_path()/"indexes"/str(user_id)/name)
simple_index.save_to_disk(app_root_path() / "indexes" / str(user_id) / name)
self.index_storage[user_id].queryable_index = simple_index
try:

Loading…
Cancel
Save