diff options
author | Philipp Hörist <philipp@hoerist.com> | 2019-02-06 01:19:14 +0300 |
---|---|---|
committer | Philipp Hörist <philipp@hoerist.com> | 2019-02-06 01:19:14 +0300 |
commit | 135a5d84ccfcb6d4664259599c9c42080f277466 (patch) | |
tree | cfcb53219c1dd6be7181c693774aa85b6533a10f /nbxmpp/modules | |
parent | f19ef1d9382670eca23cedc003e9700acb00b30a (diff) |
Fix error when parsing bookmarks
Diffstat (limited to 'nbxmpp/modules')
-rw-r--r-- | nbxmpp/modules/bookmarks.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nbxmpp/modules/bookmarks.py b/nbxmpp/modules/bookmarks.py index a9edf28..df2ae96 100644 --- a/nbxmpp/modules/bookmarks.py +++ b/nbxmpp/modules/bookmarks.py @@ -126,9 +126,9 @@ class Bookmarks: log.info('Error: %s', stanza.getError()) return [] + bookmarks = [] if type_ == BookmarkStoreType.PUBSUB: item = get_pubsub_item(stanza) - bookmarks = [] storage_node = item.getTag('storage', namespace=NS_BOOKMARKS) if type_ == BookmarkStoreType.PRIVATE: |