1
0
Fork 0
mirror of synced 2024-05-18 11:23:42 +12:00

fix "inconsisntencies" typo in error message

This commit is contained in:
Hawken Rives 2020-12-02 16:28:26 -06:00 committed by GitHub
parent 193dde03f0
commit 7299b1f5ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -233,7 +233,7 @@ def write_main_index(links: List[Link], out_dir: Path=OUTPUT_DIR, finished: bool
except (KeyboardInterrupt, SystemExit):
stderr('[!] Warning: Still writing index to disk...', color='lightyellow')
stderr(' Run archivebox init to fix any inconsisntencies from an ungraceful exit.')
stderr(' Run archivebox init to fix any inconsistencies from an ungraceful exit.')
with timed_index_update(out_dir / SQL_INDEX_FILENAME):
write_sql_main_index(links, out_dir=out_dir)
os.chmod(out_dir / SQL_INDEX_FILENAME, int(OUTPUT_PERMISSIONS, base=8)) # set here because we don't write it with atomic writes