fixed missing settings
authorft
Wed, 21 May 2014 14:29:04 +0200
changeset 654376f0cb016
parent 5 21d27339c811
child 7 001df120dbe3
fixed missing settings
changed path to config
src/encryptionprovider.py
src/passwordreceiver.py
     1.1 --- a/src/encryptionprovider.py	Wed May 21 11:39:02 2014 +0200
     1.2 +++ b/src/encryptionprovider.py	Wed May 21 14:29:04 2014 +0200
     1.3 @@ -14,8 +14,7 @@
     1.4  
     1.5  MINOPTS = { "Main" : ["LogFile", "LogLevel", "MountScript", "UmountScript", "InitScript", "GetDevicesScript", "Keyfile"]}
     1.6  
     1.7 -#CONFIG_FILE="/etc/encryptionprovider/encryptionprovider.cfg"
     1.8 -CONFIG_FILE="/home/spawn/workspace_python/encryptionprovider/config/encryptionprovider.cfg"
     1.9 +CONFIG_FILE="/etc/encryptionprovider/encryptionprovider.cfg"
    1.10  CONFIG_NOT_READABLE = "Configfile is not readable"
    1.11  CONFIG_WRONG = "Something is wrong with the config"
    1.12  CONFIG_MISSING = "Section: \"%s\" Option: \"%s\" in configfile is missing"
     2.1 --- a/src/passwordreceiver.py	Wed May 21 11:39:02 2014 +0200
     2.2 +++ b/src/passwordreceiver.py	Wed May 21 14:29:04 2014 +0200
     2.3 @@ -29,7 +29,7 @@
     2.4      
     2.5      
     2.6      def GET(self, settings):
     2.7 -        return self.POST()
     2.8 +        return self.POST(settings)
     2.9      
    2.10      def POST(self, settings):
    2.11