Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/python-nbxmpp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Hörist <philipp@hoerist.com>2019-02-06 01:19:14 +0300
committerPhilipp Hörist <philipp@hoerist.com>2019-02-06 01:19:14 +0300
commit135a5d84ccfcb6d4664259599c9c42080f277466 (patch)
treecfcb53219c1dd6be7181c693774aa85b6533a10f /nbxmpp/modules
parentf19ef1d9382670eca23cedc003e9700acb00b30a (diff)
Fix error when parsing bookmarks
Diffstat (limited to 'nbxmpp/modules')
-rw-r--r--nbxmpp/modules/bookmarks.py2
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: