Skip to content

Instantly share code, notes, and snippets.

@Kristian-Roopnarine
Last active September 30, 2019 23:02
Show Gist options
  • Save Kristian-Roopnarine/1d765b0cb3dc473b22f58371bde322c8 to your computer and use it in GitHub Desktop.
Save Kristian-Roopnarine/1d765b0cb3dc473b22f58371bde322c8 to your computer and use it in GitHub Desktop.
def get_information(self,info):
username = self.usernameEdit.text()
password = self.passwordEdit.text()
website = self.websiteEdit.text()
if username == '' or password == '' or website == '':
return None
else:
info[website] = [username,password]
return username,password,website
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment