1
0
mirror of https://github.com/janeczku/calibre-web synced 2025-09-10 23:06:01 +00:00

Omit exporting of api strings

This commit is contained in:
Ozzie Isaacs
2025-09-09 09:40:37 +02:00
parent 0e50794d9b
commit 9fcd636533

View File

@@ -325,7 +325,7 @@ class ConfigSQL(object):
def to_dict(self):
storage = {}
for k, v in self.__dict__.items():
if k[0] != '_' and not k.endswith("_e") and not k == "cli":
if k[0] != '_' and not k.endswith("_e") and not k == "cli" and 'api' not in k.lower():
storage[k] = v
return storage