tests update, bug fix

This commit is contained in:
ingvar1995
2016-07-01 23:15:00 +03:00
parent 5204cba58d
commit 18935c5b10
8 changed files with 26 additions and 43 deletions

View File

@@ -205,7 +205,7 @@ class ProfileSettings(CenteredWidget):
def new_password(self):
if self.password.text() == self.confirm_password.text():
if not len(self.password.text()) or len(self.password.text()) >= 8:
e = toxencryptsave.LibToxEncryptSave.get_instance()
e = toxencryptsave.ToxEncryptSave.get_instance()
e.set_password(self.password.text())
self.close()
else: