Skip to content

Commit

Permalink
Specified a type for every try except
Browse files Browse the repository at this point in the history
  • Loading branch information
IceTheCoder committed Dec 27, 2022
1 parent 4ce7b54 commit d0bd7bc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified PasswordGenerator/__pycache__/logic.cpython-310.pyc
Binary file not shown.
2 changes: 1 addition & 1 deletion PasswordGenerator/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def createPasswordLabels() -> None:
password = logic.generatePassword(input_box.get())
showPassword(password_label, password, password_labels.index(password_label))

except:
except ValueError:
showPassword(password_label_1, error, 0)


Expand Down

0 comments on commit d0bd7bc

Please sign in to comment.