Enhance IHDR table fill logging for clarity

This commit is contained in:
aradhyacp
2026-01-04 00:15:00 +05:30
parent 93564d2e5f
commit 2ce2b82b49
+1 -3
View File
@@ -110,7 +110,7 @@ def fill_ihdr_db() -> None:
db.session.commit()
db.session.commit() # pylint: disable=no-member
print(f"Precomputed {count} common IHDR entries.")
print(f"Precomputed {count} common IHDR entries. IHDR table filled successfully.")
def init_db(app: Flask) -> None:
@@ -145,6 +145,4 @@ def init_db(app: Flask) -> None:
if getenv("SKIP_IHDR_FILL", "0") == "1":
print("Skipping IHDR lookup table fill as per configuration.")
else:
print("Filling IHDR lookup table...")
fill_ihdr_db()
print("IHDR table filled successfully.")