diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-08-07 13:45:31 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-08-07 15:16:41 +0200 |
commit | a59af71a77d928536412ea71b20689dfc99dd033 (patch) | |
tree | cca2e21ee76fa47364cae883a2ab1d05d310b4cb /mu4web | |
parent | Add mail relation tree. (diff) | |
download | mu4web-a59af71a77d928536412ea71b20689dfc99dd033.tar.gz mu4web-a59af71a77d928536412ea71b20689dfc99dd033.tar.xz |
Add tests.
Diffstat (limited to 'mu4web')
-rwxr-xr-x | mu4web/password.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mu4web/password.py b/mu4web/password.py index d7ab5ce..ee7613e 100755 --- a/mu4web/password.py +++ b/mu4web/password.py @@ -41,10 +41,11 @@ class Passwords: Simple password store. :param fname: - Path of json file to load and store from. + Path of json file to load and store from. It's recommended to + end this name with ``.json``. """ - def __init__(self, fname: os.PathLike[str]): + def __init__(self, fname: str): self.fname = fname self.db: dict[str, PasswordEntry] try: |