Exemplo n.º 1
0
 def __init__(self, ciq, commq, server_ip):
     self.passWindow = None
     self.ciq = ciq
     self.server_ip = server_ip
     self.commq = commq
     self.root = Tk()
     self.prefOps = preferenceOperations()
     self.root.withdraw()
     self.callback()
     self.loginWindow = loginWindow(self)
     self.root.mainloop()
     self.userRow = None
     self.passwordLength = 0
Exemplo n.º 2
0
 def __init__(self, q, files_path, ignore, server_ip, username, password):
     self.pref = preferenceOperations()
     self.q = q
     self.files_path = files_path
     self.ignore = ignore
     self.server_ip = server_ip
     self.username = username
     self.password = password
     self.command_out = False
     self.connection = None
     self.file_syncing = None
     print self.get_password()
     print self.get_directory()