fixed option 4 removing local instance rows

This commit is contained in:
doctor_dev 2025-06-10 06:22:26 +00:00
parent bc4d6f3af0
commit 50f6a637cd
No known key found for this signature in database
GPG key ID: F12F7F71CB84AEAA
2 changed files with 33 additions and 6 deletions

View file

@ -16,10 +16,10 @@ def run_option_4():
utils.print_colors('[+] Syncing official webrings to local webrings')
webring_df = utils.get_local_webring_participants()
current_instance = utils.get_current_instance()
webring_df = utils.get_local_webring_participants(current_instance)
utils.print_colors('[+] Reading local blacklist and sensitive words')
local_blacklist_df = utils.get_local_blacklist()
local_sensitive_df = utils.get_local_sensitive()
@ -28,8 +28,8 @@ def run_option_4():
local_verified_df, local_unverified_df = utils.get_local_verified_and_unverified()
#Remove all rows
local_unverified_df = local_unverified_df[0:0]
local_verified_df = local_verified_df[0:0]
local_unverified_df = utils.renew_csv(local_unverified_df, current_instance)
local_verified_df = utils.renew_csv(local_verified_df, current_instance)
for participant in webring_df.itertuples(index=False, name='columns'):
# Check if the participant is my instance