do the magic, this will not run
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Torma Kristóf 2021-04-25 17:12:20 +02:00
parent e3d1280cb6
commit edfd2bd889
Signed by: tormakris
GPG Key ID: DC83C4F2C41B1047
3 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python3
import json import json
import logging import logging
import os import os

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python3
import json import json
import os import os

View File

@ -1,6 +1,7 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
from server.authentication import Authetication from authentication import Authetication
from executor import Executor from executor import Executor
from netwrapper import NetWrapper
class Server: class Server:
@ -11,6 +12,7 @@ class Server:
self.sessionTimeout = sessionTimeout self.sessionTimeout = sessionTimeout
self.availableServer = availableServer self.availableServer = availableServer
self.executor = Executor(homeDirectory) self.executor = Executor(homeDirectory)
self.networkInstance = NetWrapper(_,_,self)
def login(self, username: str, password: str) -> bool: def login(self, username: str, password: str) -> bool:
auth = Authetication() auth = Authetication()