fixed missing args
authorft
Mon, 10 Nov 2014 14:01:33 +0100
changeset 30baf07481db41
parent 29 7d020a57d820
child 31 0132180da319
fixed missing args
src/passwordreceiver.py
     1.1 --- a/src/passwordreceiver.py	Mon Nov 10 13:58:51 2014 +0100
     1.2 +++ b/src/passwordreceiver.py	Mon Nov 10 14:01:33 2014 +0100
     1.3 @@ -189,11 +189,11 @@
     1.4          else:
     1.5              command = [settings["script"], settings["device"], settings["mountpoint"], args["password"]]
     1.6          
     1.7 -        thread.start_new_thread(self.initStick, (command,))
     1.8 +        thread.start_new_thread(self.initStick, (command,args,))
     1.9          
    1.10          return "Success: Init started"
    1.11  
    1.12 -    def initStick(self, command):
    1.13 +    def initStick(self, command, args):
    1.14          process = subprocess.Popen( command, stdout=subprocess.PIPE, stderr=subprocess.PIPE )
    1.15          retval = process.wait()
    1.16          ( stdout, stderr ) = process.communicate()