Fix command reset (Thank you to lorenzo, Mari0 and roughnecks).

This commit is contained in:
Schimon Jehudah, Adv. 2024-06-14 19:24:38 +03:00
parent 382b5a52be
commit 15e6a1de66
2 changed files with 7 additions and 3 deletions

View file

@ -1373,6 +1373,9 @@ def get_entries(db_file, num):
return result
# NOTE Only [0] [1] [4] are in use.
# See results = sqlite.get_entries_rejected(db_file, num)
# Module xmpp/client.py
def get_entries_rejected(db_file, num):
"""
Extract information from rejected entries.
@ -1919,7 +1922,7 @@ async def mark_all_as_read(db_file):
sql = (
"""
SELECT entries_properties.id, title, link, summary_text, feed_id, published
SELECT entries_properties.id
FROM entries_properties
INNER JOIN entries_state ON entries_properties.id = entries_state.entry_id
WHERE entries_state.archived = 1
@ -2664,6 +2667,7 @@ def get_tags_by_entry_id(db_file, entry_id):
return result
# NOTE fetch only relevant/specific items
def get_contents_by_entry_id(db_file, entry_id):
function_name = sys._getframe().f_code.co_name
logger.debug('{}: db_file: {} entry_id: {}'

View file

@ -1,2 +1,2 @@
__version__ = '0.1.80'
__version_info__ = (0, 1, 80)
__version__ = '0.1.81'
__version_info__ = (0, 1, 81)