mirror of
http://git.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/nihilist/darknet-lantern.git
synced 2025-07-01 19:06:41 +00:00
added a comment + changed a print to print_colors
This commit is contained in:
parent
600dbf5f4c
commit
4b33e51d11
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue