lint and gitignore
This commit is contained in:
@@ -3,3 +3,4 @@
|
|||||||
__pycache__/
|
__pycache__/
|
||||||
.mypy_cache/
|
.mypy_cache/
|
||||||
results/
|
results/
|
||||||
|
.vscode
|
||||||
|
|||||||
@@ -78,7 +78,7 @@ def fill_ihdr_db() -> None:
|
|||||||
if db.session.query(IHDR.iid).first() is not None:
|
if db.session.query(IHDR.iid).first() is not None:
|
||||||
print("IHDR table already populated, skipping fill.")
|
print("IHDR table already populated, skipping fill.")
|
||||||
return
|
return
|
||||||
|
|
||||||
# Standard PNG IHDR parameters
|
# Standard PNG IHDR parameters
|
||||||
resolutions = get_resolutions()
|
resolutions = get_resolutions()
|
||||||
bit_color_pairs = get_valid_depth_color_pairs()
|
bit_color_pairs = get_valid_depth_color_pairs()
|
||||||
@@ -155,4 +155,3 @@ def init_db(app: Flask) -> None:
|
|||||||
print("Running as worker, skipping IHDR table fill.")
|
print("Running as worker, skipping IHDR table fill.")
|
||||||
else:
|
else:
|
||||||
fill_ihdr_db()
|
fill_ihdr_db()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user