Guard missing Nostr client in background sync

This commit is contained in:
thePR0M3TH3AN
2025-08-06 21:33:16 -04:00
parent b15c0c17b7
commit 45304b41c2
4 changed files with 46 additions and 1 deletions

View File

@@ -12,6 +12,7 @@ def _make_pm():
pm.notify = lambda msg, level="INFO": pm.notifications.put(
manager_module.Notification(msg, level)
)
pm.nostr_client = object()
return pm