Fixed color output for find_bad_extensions.py

This commit is contained in:
Rhet Turnbull 2022-12-28 22:53:01 -07:00
parent 00481d3623
commit a6cce9ef65

View File

@ -136,7 +136,7 @@ def main(library: str, recheck: bool, edited: bool):
kvstore = SQLiteKVStore(
cache_db_path, wal=True, serialize=json.dumps, deserialize=json.loads
)
click.echo(f"Using cache database: [blue]{cache_db_path}", err=True)
print(f"Using cache database: [blue]{cache_db_path}", file=sys.stderr)
# load the Photos database and check each photo
photosdb = PhotosDB(dbfile=library)