plugin XEP-0060: fixes a one-line loop
This commit is contained in:
parent
d747c144cd
commit
d42c6a1e77
1 changed files with 1 additions and 1 deletions
|
|
@ -255,7 +255,7 @@ class XEP_0060(object):
|
|||
metadata = {}
|
||||
if rsm_request is not None:
|
||||
rsm_data = client.pubsub_client.getRSMResponse(ext_data['id'])
|
||||
metadata.update({'rsm_{}'.format(key): value for key, value in rsm_data})
|
||||
metadata.update({'rsm_{}'.format(key): value for key, value in rsm_data.iteritems()})
|
||||
return (items, metadata)
|
||||
|
||||
d.addCallback(addMetadata)
|
||||
|
|
|
|||
Loading…
Reference in a new issue