f
This commit is contained in:
@@ -263,11 +263,6 @@ def save_config_value(category: str, subtype: str, item_name: str, key: str, val
|
||||
|
||||
def get_config_all() -> Dict[str, Any]:
|
||||
"""Retrieve all configuration from the database in the legacy dict format."""
|
||||
try:
|
||||
db.execute("DELETE FROM config WHERE category='store' AND LOWER(subtype) in ('folder', 'zerotier')")
|
||||
db.execute("DELETE FROM config WHERE category='networking'")
|
||||
except Exception:
|
||||
pass
|
||||
rows = db.fetchall("SELECT category, subtype, item_name, key, value FROM config")
|
||||
config: Dict[str, Any] = {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user