forked from sch/Blasta
Fix missing argument error for database file. (Thank you. roughnecks).
This commit is contained in:
parent
09d50b9636
commit
9e4d6f0d32
1 changed files with 2 additions and 2 deletions
|
@ -186,7 +186,7 @@ class UtilitiesData:
|
|||
if not os.path.exists(filename_items) or os.path.getsize(filename_items) in (0, 13):
|
||||
iq = await XmppPubsub.get_node_items(xmpp_instance, jabber_id, node_id)
|
||||
if isinstance(iq, Iq):
|
||||
entries_cache_node = UtilitiesData.extract_iq_items_extra(iq, jabber_id)
|
||||
entries_cache_node = UtilitiesData.extract_iq_items_extra(db_file, iq, jabber_id)
|
||||
data_items = {node_type : entries_cache_node}
|
||||
UtilitiesData.save_to_toml(filename_items, data_items)
|
||||
return ['fine', iq] # TODO Remove this line
|
||||
|
@ -223,7 +223,7 @@ class UtilitiesData:
|
|||
iq = await XmppPubsub.get_node_item(
|
||||
xmpp_instance, jabber_id, node_id, url_hash)
|
||||
if isinstance(iq, Iq):
|
||||
entries_iq = UtilitiesData.extract_iq_items_extra(iq, jabber_id)
|
||||
entries_iq = UtilitiesData.extract_iq_items_extra(db_file, iq, jabber_id)
|
||||
entries_cache_node_new += entries_iq
|
||||
else:
|
||||
# TODO
|
||||
|
|
Loading…
Reference in a new issue