mirror of
https://github.com/oxen-io/lokinet
synced 2023-12-14 06:53:00 +01:00
fix
This commit is contained in:
parent
02e8e055ed
commit
fcd9b23a80
|
@ -4,6 +4,7 @@
|
|||
#
|
||||
import requests
|
||||
import json
|
||||
import os
|
||||
import sys
|
||||
|
||||
from collections import defaultdict as Dict
|
||||
|
@ -62,9 +63,10 @@ def peers_main():
|
|||
|
||||
|
||||
if __name__ == '__main__':
|
||||
if sys.argv[0] == 'lokinet-peers':
|
||||
exe = os.path.basename(sys.argv[0]).lower()
|
||||
if exe == 'lokinet-peers':
|
||||
peers_main()
|
||||
elif sys.argv[0] == 'lokinet-exit':
|
||||
elif exe == 'lokinet-exit':
|
||||
exit_sessions_main()
|
||||
else:
|
||||
print(
|
||||
|
|
Loading…
Reference in a new issue