From edfd2bd889be4fe7c5aedf50cbed8e1138d42878 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Sun, 25 Apr 2021 17:12:20 +0200 Subject: [PATCH] do the magic, this will not run --- server/authentication.py | 2 ++ server/config_init.py | 2 ++ server/server.py | 4 +++- 3 files changed, 7 insertions(+), 1 deletion(-) 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()