fba.update_last_seen(blocker, blocked, "reject")
if "public_comment" in peer:
- reason = peer["public_comment"]
- # NOISY-DEBUG: print("DEBUG: Updating block reason:", blocker, blocked, reason)
- fba.update_block_reason(reason, blocker, blocked, "reject")
+ # NOISY-DEBUG: print("DEBUG: Updating block reason:", blocker, blocked, peer["public_comment"])
+ fba.update_block_reason(peer["public_comment"], blocker, blocked, "reject")
for entry in blockdict:
if entry["blocked"] == blocked:
- entry["reason"] = reason
+ entry["reason"] = peer["public_comment"]
fba.connection.commit()
except Exception as e: