mirror of
https://git.pleroma.social/pleroma/relay.git
synced 2024-11-25 07:51:09 +00:00
manage: fix compile
This commit is contained in:
parent
33868b1e19
commit
3cc48dd3e8
|
@ -14,7 +14,7 @@ def relay_follow():
|
||||||
print('usage: python3 -m relay.manage follow <target>')
|
print('usage: python3 -m relay.manage follow <target>')
|
||||||
exit()
|
exit()
|
||||||
|
|
||||||
target = sys.argv[2])
|
target = sys.argv[2]
|
||||||
|
|
||||||
loop = asyncio.get_event_loop()
|
loop = asyncio.get_event_loop()
|
||||||
loop.run_until_complete(follow_remote_actor(target))
|
loop.run_until_complete(follow_remote_actor(target))
|
||||||
|
@ -27,7 +27,7 @@ def relay_unfollow():
|
||||||
print('usage: python3 -m relay.manage unfollow <target>')
|
print('usage: python3 -m relay.manage unfollow <target>')
|
||||||
exit()
|
exit()
|
||||||
|
|
||||||
target = sys.argv[2])
|
target = sys.argv[2]
|
||||||
|
|
||||||
loop = asyncio.get_event_loop()
|
loop = asyncio.get_event_loop()
|
||||||
loop.run_until_complete(unfollow_remote_actor(target))
|
loop.run_until_complete(unfollow_remote_actor(target))
|
||||||
|
|
Loading…
Reference in a new issue