generated from john/python-template
style: apply ruff formatting sweep
Co-authored-by: Copilot App <[email protected]>
This commit is contained in:
co-authored by
Copilot App
parent
4aaa9bd581
commit
2a56365847
@@ -132,9 +132,7 @@ def _preflight(connection: Connection, *, strict: bool) -> None:
|
||||
def rotate_stored_images(connection: Connection, *, dry_run: bool) -> int:
|
||||
"""Step 1: rewrite every mis-oriented stored image and its recorded digest."""
|
||||
source = SQLModel.metadata.tables["source"]
|
||||
rows = connection.execute(
|
||||
select(source.c.id, source.c.file_path, source.c.filename)
|
||||
).all()
|
||||
rows = connection.execute(select(source.c.id, source.c.file_path, source.c.filename)).all()
|
||||
|
||||
rotated = 0
|
||||
missing = 0
|
||||
|
||||
Reference in New Issue
Block a user