~ark/atomizer

ca18627254fb4a6035c5ccdd345d6e1699120089 — Julian Hurst 4 months ago cfc3760
Delete display feed instead of absolute feed
1 files changed, 3 insertions(+), 3 deletions(-)

M src/atomizer_ui.py
M src/atomizer_ui.py => src/atomizer_ui.py +3 -3
@@ 604,10 604,10 @@ def main():
            if chosen_feed == None and entries == None and not is_tagview:
                try:
                    idx = int(get_arg(args, 1))
                    confirm = input(f"Are you sure you want to delete {feeds[idx].title} ? (y/n) ")
                    confirm = input(f"Are you sure you want to delete {display_feeds[idx].title} ? (y/n) ")
                    if confirm.lower() == "y":
                        atomizer_db.delete_feed(conn, feeds[idx].feed_id)
                        del feeds[idx]
                        atomizer_db.delete_feed(conn, display_feeds[idx].feed_id)
                        del display_feeds[idx]
                        start_idx = 0
                        print_feeds(display_feeds, start_idx)
                except Exception as e: