Requests
This commit is contained in:
parent
f5bdf917aa
commit
ecd0dd1d68
@ -4,6 +4,7 @@ import struct
|
||||
import random
|
||||
import time
|
||||
from base64 import b64encode, b64decode
|
||||
import requests
|
||||
|
||||
from .config import config
|
||||
from .database import Task, Agent
|
||||
@ -189,4 +190,4 @@ class A2Sserver:
|
||||
client = threading.Thread(target=self.__client_handler, args=(address,msg))
|
||||
client.start()
|
||||
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