From 9e4d6f0d32484ce25e664390047f14f64fb7e414 Mon Sep 17 00:00:00 2001 From: "Schimon Jehudah, Adv." Date: Sun, 17 Nov 2024 18:30:29 +0200 Subject: [PATCH] Fix missing argument error for database file. (Thank you. roughnecks). --- blasta/utilities/data.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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