k
This commit is contained in:
@@ -1187,18 +1187,9 @@ class OpenLibrary(Provider):
|
||||
email, password = self._credential_archive(self.config or {})
|
||||
if not email or not password:
|
||||
log(
|
||||
"[openlibrary] Archive credentials missing; cannot borrow",
|
||||
"[openlibrary] Archive credentials missing; cannot borrow. Use .config to set them.",
|
||||
file=sys.stderr
|
||||
)
|
||||
try:
|
||||
from SYS.rich_display import show_provider_config_panel
|
||||
|
||||
show_provider_config_panel(
|
||||
"openlibrary",
|
||||
keys=self.required_config_keys(),
|
||||
)
|
||||
except Exception:
|
||||
pass
|
||||
return None
|
||||
|
||||
lendable = True
|
||||
|
||||
Reference in New Issue
Block a user