refactor: update configuration handling and OpenAI client initialization

This commit is contained in:
2025-06-06 11:14:56 +02:00
parent 2eceb07c0b
commit dbad7165bc
9 changed files with 80 additions and 52 deletions

View File

@@ -160,6 +160,8 @@ class ZoteroController:
zoterocfg = settings.zotero
def __init__(self):
if self.zoterocfg.library_id is None:
return
self.zot = zotero.Zotero(
self.zoterocfg.library_id,
self.zoterocfg.library_type,