diff --git a/blasta/utilities/data.py b/blasta/utilities/data.py index 9583467..8f92f4e 100644 --- a/blasta/utilities/data.py +++ b/blasta/utilities/data.py @@ -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