From 48c8aa09b8d1c0cd46c7fdd077c663c216e2e92a Mon Sep 17 00:00:00 2001 From: doctor_dev Date: Sat, 7 Jun 2025 09:52:35 +0000 Subject: [PATCH] Moved the blacklisted to be at the end of the csv --- scripts/lantern.py | 4 ++-- templates/webring-participants.csv | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/lantern.py b/scripts/lantern.py index 3a195cd..b8c80a3 100644 --- a/scripts/lantern.py +++ b/scripts/lantern.py @@ -151,9 +151,9 @@ def main(): print_colors(f"[+] file exists, your Webring URL is {instance}") if 'Blacklisted' not in webpdf.columns: - webpdf.insert(4, 'Blacklisted', 'NO') + webpdf['Blacklisted'] = 'NO' - webpdf.to_csv(webpcsvfile) + webpdf.to_csv(webpcsvfile) ##### CHECK IF ARGUMENTS ARE PASSED TO ENTER PROMPT-LESS MODE ##### if len(sys.argv) == 2 and sys.argv[1] == "4": diff --git a/templates/webring-participants.csv b/templates/webring-participants.csv index ee5470d..c0d32ff 100644 --- a/templates/webring-participants.csv +++ b/templates/webring-participants.csv @@ -1 +1 @@ -Name,URL,Description,Trusted,Blacklisted,Status,Score +Name,URL,Description,Trusted,Status,Score,Blacklisted