diff --git a/scripts/lantern.py b/scripts/lantern.py index cfe2d4d..6408f03 100644 --- a/scripts/lantern.py +++ b/scripts/lantern.py @@ -234,7 +234,7 @@ Maintenance: # Checks if new input is in verified.csv and prevents if exist if (vdf['URL'] == url).any() or (vdf['Name'] == name).any(): - print("Name or url already exist in verified.csv") + print_colors("Name or url already exist in verified.csv") else: # Delete existing entries from unverified.csv @@ -252,6 +252,7 @@ Maintenance: vdf = vdf.sort_values(by=["Category","Score"], ascending=[True,False]) # sorting categories print_colors("[+] New row added! now writing the csv file") + # saving both csv's data uvdf.to_csv(unverifiedcsvfile, index=False) vdf.to_csv(verifiedcsvfile, index=False)