mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-03-17 21:31:52 +01:00
Update discovery_censor_wot.py
This commit is contained in:
parent
bbc4b7a04f
commit
972785d28d
@ -141,8 +141,11 @@ class DiscoverReports(DVMTaskInterface):
|
||||
print(json.dumps(converted_dict))
|
||||
for k, v in converted_dict.items():
|
||||
print(k)
|
||||
p_tag = Tag.parse(["p", k, str(v)])
|
||||
bad_actors.append(p_tag.as_vec())
|
||||
try:
|
||||
p_tag = Tag.parse(["p", k, str(v)])
|
||||
bad_actors.append(p_tag.as_vec())
|
||||
except Exception as e:
|
||||
print(e)
|
||||
|
||||
print(json.dumps(bad_actors))
|
||||
await cli.shutdown()
|
||||
|
Loading…
x
Reference in New Issue
Block a user