Skip to content

Commit

Permalink
Fix params bug
Browse files Browse the repository at this point in the history
  • Loading branch information
NotStatilko committed Jun 13, 2021
1 parent 4f7c9f3 commit 90a91a8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions uiScrypt.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ def make_password_clicked(self):
n = int(self.ui.lineEdit_6.text())
r = int(self.ui.lineEdit_5.text())
p = int(self.ui.lineEdit.text())
self.all_is_valid = True
except:
self.all_is_valid = False
self.ui.label_12.show()
Expand All @@ -87,6 +88,7 @@ def make_password_clicked(self):
except:
self.erase_to_start()
self.ui.label_12.show()
self.all_is_valid = False
else:
self.ui.label_7.hide()
self.ui.label_8.show()
Expand Down

0 comments on commit 90a91a8

Please sign in to comment.