Requests
This commit is contained in:
parent
f5bdf917aa
commit
ecd0dd1d68
@ -4,6 +4,7 @@ import struct
|
|||||||
import random
|
import random
|
||||||
import time
|
import time
|
||||||
from base64 import b64encode, b64decode
|
from base64 import b64encode, b64decode
|
||||||
|
import requests
|
||||||
|
|
||||||
from .config import config
|
from .config import config
|
||||||
from .database import Task, Agent
|
from .database import Task, Agent
|
||||||
@ -189,4 +190,4 @@ class A2Sserver:
|
|||||||
client = threading.Thread(target=self.__client_handler, args=(address,msg))
|
client = threading.Thread(target=self.__client_handler, args=(address,msg))
|
||||||
client.start()
|
client.start()
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
log(LogLevel.ERROR, f'Failed to accept to connection from {address[0]}:{address[1]}. Reason: {e}')
|
log(LogLevel.ERROR, f'Failed to accept to connection from {address[0]}:{address[1]}. Reason: {e}')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user