mirror of
https://git.kiwifarms.net/mint/fedi-block-api.git
synced 2024-10-23 01:29:05 +00:00
.
This commit is contained in:
parent
11677321ab
commit
15961fc388
1 changed files with 2 additions and 2 deletions
|
@ -208,7 +208,7 @@ for blocker, software in c.fetchall():
|
|||
print(blocker)
|
||||
try:
|
||||
json = get_friendica_blocks(blocker)
|
||||
for blocks in json.items():
|
||||
for block_level, blocks in json.items():
|
||||
for instance in blocks:
|
||||
blocked, reason = instance.values()
|
||||
blocked == blocked.lower()
|
||||
|
@ -232,7 +232,7 @@ for blocker, software in c.fetchall():
|
|||
blocker,
|
||||
blocked,
|
||||
reason,
|
||||
"reject",
|
||||
block_level,
|
||||
),
|
||||
)
|
||||
conn.commit()
|
||||
|
|
Loading…
Reference in a new issue