diff --git a/server/authentication.py b/server/authentication.py index fa4eecc..ea2f435 100644 --- a/server/authentication.py +++ b/server/authentication.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python3 + import json import logging import os diff --git a/server/config_init.py b/server/config_init.py index bf7ed08..8d19a03 100644 --- a/server/config_init.py +++ b/server/config_init.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python3 + import json import os diff --git a/server/server.py b/server/server.py index 5e3e13c..fa78045 100644 --- a/server/server.py +++ b/server/server.py @@ -1,6 +1,7 @@ #!/usr/bin/env python3 -from server.authentication import Authetication +from authentication import Authetication from executor import Executor +from netwrapper import NetWrapper class Server: @@ -11,6 +12,7 @@ class Server: self.sessionTimeout = sessionTimeout self.availableServer = availableServer self.executor = Executor(homeDirectory) + self.networkInstance = NetWrapper(_,_,self) def login(self, username: str, password: str) -> bool: auth = Authetication()