# HG changeset patch # User ft # Date 1415625702 -3600 # Node ID 0132180da319925f2fe42c5f0aa62d09921b132c # Parent baf07481db415aba67c5614077648942b55b11b5 fixed missing settings diff -r baf07481db41 -r 0132180da319 src/passwordreceiver.py --- a/src/passwordreceiver.py Mon Nov 10 14:01:33 2014 +0100 +++ b/src/passwordreceiver.py Mon Nov 10 14:21:42 2014 +0100 @@ -189,11 +189,11 @@ else: command = [settings["script"], settings["device"], settings["mountpoint"], args["password"]] - thread.start_new_thread(self.initStick, (command,args,)) + thread.start_new_thread(self.initStick, (command,settings,args,)) return "Success: Init started" - def initStick(self, command, args): + def initStick(self, command, settings, args): process = subprocess.Popen( command, stdout=subprocess.PIPE, stderr=subprocess.PIPE ) retval = process.wait() ( stdout, stderr ) = process.communicate()