passgen

tk password generator
git clone https://git.pastanoggin.com/passgen.git
Log | Files | Refs | README | LICENSE

commit 4e6ae475049343b52957a55a724693bf2ebfa89b
parent b9c4accfad2538881df08d7e87dfe67b17c14d4f
Author: noodle <noodle@pastanoggin.com>
Date:   Thu, 12 Jun 2025 13:36:57 +0300

fix change_password_length not accepting the new password value

Diffstat:
Mpassgen.py | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/passgen.py b/passgen.py @@ -126,10 +126,9 @@ class MainApp: self.output_pass() - def change_password_length(self): + def change_password_length(self, newval): """Displays the new len of the passwords and then outputs it""" - password_length_text = "Password length: {self.pass_length.get()}" - self.label_length.config(text=password_length_text) + self.label_length.config(text=f"Password length: {newval}") self.output_pass() def copy_password(self):