pre-migration commit
This commit is contained in:
@@ -1354,9 +1354,6 @@ class Table:
|
||||
"")
|
||||
).lower()
|
||||
|
||||
# Debug logging
|
||||
# print(f"DEBUG: Processing dict result. Store: {store_val}, Keys: {list(visible_data.keys())}")
|
||||
|
||||
if store_val == "local":
|
||||
# Find title field
|
||||
title_field = next(
|
||||
@@ -1373,8 +1370,6 @@ class Table:
|
||||
# Only use title suffix as fallback when ext is missing.
|
||||
if not str(visible_data.get("ext") or "").strip():
|
||||
visible_data["ext"] = extension
|
||||
# print(f"DEBUG: Split extension. Title: {visible_data[title_field]}, Ext: {extension}")
|
||||
|
||||
# Ensure 'ext' is present so it gets picked up by priority_groups in correct order
|
||||
if "ext" not in visible_data:
|
||||
visible_data["ext"] = ""
|
||||
|
||||
Reference in New Issue
Block a user