mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-27 00:07:16 +00:00
23 lines
466 B
Python
23 lines
466 B
Python
|
#!/usr/bin/env python3
|
||
|
# -*-coding:UTF-8 -*
|
||
|
|
||
|
import os
|
||
|
import sys
|
||
|
import time
|
||
|
|
||
|
sys.path.append(os.path.join(os.environ['AIL_BIN'], 'lib'))
|
||
|
import ail_2_ail
|
||
|
|
||
|
# # TODO: lauch me in core screen
|
||
|
|
||
|
if __name__ == '__main__':
|
||
|
|
||
|
Client_Manager = ail_2_ail.AIL2AILClientManager()
|
||
|
|
||
|
while True:
|
||
|
command = Client_Manager.get_manager_command()
|
||
|
if command:
|
||
|
Client_Manager.execute_manager_command(command)
|
||
|
else:
|
||
|
time.sleep(5)
|