diff --git a/aman/config/Server.py b/aman/config/Server.py index b3216d0..46567f1 100644 --- a/aman/config/Server.py +++ b/aman/config/Server.py @@ -8,8 +8,6 @@ class Server(): self.Address = None self.PortReceiver = None self.PortNotification = None - self.ServerKeyPath = None - self.ClientKeyPath = None # search the required sections for key in config: @@ -19,10 +17,6 @@ class Server(): self.PortReceiver = int(config['portreceiver']) elif 'portnotification' == key: self.PortNotification = int(config['portnotification']) - elif 'serverkeypath' == key: - self.ServerKeyPath = config['serverkeypath'] - elif 'clientkeypath' == key: - self.ClientKeyPath = config['clientkeypath'] if self.Address is None: sys.stderr.write('No server-address configuration found!') @@ -33,9 +27,3 @@ class Server(): if self.PortNotification is None: sys.stderr.write('No server-port-notification configuration found!') sys.exit(-1) - if self.ServerKeyPath is None: - sys.stderr.write('No server-key-path configuration found!') - sys.exit(-1) - if self.ClientKeyPath is None: - sys.stderr.write('No client-key-path configuration found!') - sys.exit(-1)