Exemplo n.º 1
0
 def run(self):
     mode = "remote" if self.sftp else "local"
     try:
         syncd.run(mode, username=_otp_user, password=_otp_pass,
                   event=self.event, **get_vars(_vars))
     except Exception as e:
         self.emit(SIGNAL("threadError(QString)"), QString(e.message))
Exemplo n.º 2
0
    def run(self):
        mode = "remote" if self.sftp else "local"
#        try:
        syncd.run(mode, username=_otp_user, password=_otp_pass, keypass=_key_pass,
                      stopsync=self.event, **get_vars(_vars))