mirror of
http://git.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/nihilist/darknet-lantern.git
synced 2025-05-16 20:26:58 +00:00
Suggested fixes are applied
This commit is contained in:
parent
4837034ec3
commit
e21455540e
4 changed files with 39 additions and 34 deletions
|
@ -182,7 +182,7 @@ Maintenance:
|
|||
|
||||
0) Exit
|
||||
""")
|
||||
option = input("Select an option? (0-10): ").strip()
|
||||
option = input("Select an option? (0-11): ").strip()
|
||||
try:
|
||||
option = int(option)
|
||||
except ValueError:
|
||||
|
@ -1199,8 +1199,6 @@ Maintenance:
|
|||
break
|
||||
|
||||
case 11:
|
||||
category = "EXTERNAL USER"
|
||||
sensitive = "YES"
|
||||
try:
|
||||
print_colors("1) Move entries to verified 2) Move entries from submission to unverified 3) Delete from submission file 0) exit")
|
||||
option = int(input("Enter an option: "))
|
||||
|
@ -1214,9 +1212,11 @@ Maintenance:
|
|||
print_colors(submission_df)
|
||||
|
||||
indx = int(input("Which index do you want to add? "))
|
||||
link = submission_df.iloc[indx]['link']
|
||||
name = submission_df.iloc[indx]['name']
|
||||
desc = submission_df.iloc[indx]['desc']
|
||||
link = submission_df.iloc[indx]['link'].strip()
|
||||
name = submission_df.iloc[indx]['name'].strip()
|
||||
desc = submission_df.iloc[indx]['desc'].strip()
|
||||
category = submission_df.iloc[indx]['category'].strip()
|
||||
sensitive = "YES" if submission_df.iloc[indx]['sensitive'].strip() == 'y' else "NO"
|
||||
|
||||
|
||||
new_row = pd.DataFrame({'Instance': [instance], 'Category': [category], 'Name':[name],'URL':[link],'Sensitive':[sensitive],'Description':[desc],'Status':['YES'],'Score':['100']})
|
||||
|
@ -1229,9 +1229,11 @@ Maintenance:
|
|||
print_colors(submission_df)
|
||||
|
||||
indx = int(input("Which index do you want to add? "))
|
||||
link = submission_df.iloc[indx]['link']
|
||||
name = submission_df.iloc[indx]['name']
|
||||
desc = submission_df.iloc[indx]['desc']
|
||||
link = submission_df.iloc[indx]['link'].strip()
|
||||
name = submission_df.iloc[indx]['name'].strip()
|
||||
desc = submission_df.iloc[indx]['desc'].strip()
|
||||
category = submission_df.iloc[indx]['category'].strip()
|
||||
sensitive = "YES" if submission_df.iloc[indx]['sensitive'].strip() == 'y' else "NO"
|
||||
|
||||
new_row = pd.DataFrame({'Instance': [instance], 'Category': [category], 'Name':[name],'URL':[link],'Sensitive':[sensitive],'Description':[desc],'Status':['YES'],'Score':['100']})
|
||||
|
||||
|
@ -1250,8 +1252,8 @@ Maintenance:
|
|||
case 0:
|
||||
break
|
||||
|
||||
except:
|
||||
print_colors('Try again',is_error=True)
|
||||
except Exception as e:
|
||||
print_colors(f'Try again {e}',is_error=True)
|
||||
break
|
||||
break
|
||||
case 0:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue