.
This commit is contained in:
parent
11677321ab
commit
15961fc388
@ -208,7 +208,7 @@ for blocker, software in c.fetchall():
|
|||||||
print(blocker)
|
print(blocker)
|
||||||
try:
|
try:
|
||||||
json = get_friendica_blocks(blocker)
|
json = get_friendica_blocks(blocker)
|
||||||
for blocks in json.items():
|
for block_level, blocks in json.items():
|
||||||
for instance in blocks:
|
for instance in blocks:
|
||||||
blocked, reason = instance.values()
|
blocked, reason = instance.values()
|
||||||
blocked == blocked.lower()
|
blocked == blocked.lower()
|
||||||
@ -232,7 +232,7 @@ for blocker, software in c.fetchall():
|
|||||||
blocker,
|
blocker,
|
||||||
blocked,
|
blocked,
|
||||||
reason,
|
reason,
|
||||||
"reject",
|
block_level,
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
conn.commit()
|
conn.commit()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user