aboutsummaryrefslogtreecommitdiff
path: root/mu4web
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2023-08-07 13:45:31 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2023-08-07 15:16:41 +0200
commita59af71a77d928536412ea71b20689dfc99dd033 (patch)
treecca2e21ee76fa47364cae883a2ab1d05d310b4cb /mu4web
parentAdd mail relation tree. (diff)
downloadmu4web-a59af71a77d928536412ea71b20689dfc99dd033.tar.gz
mu4web-a59af71a77d928536412ea71b20689dfc99dd033.tar.xz
Add tests.
Diffstat (limited to 'mu4web')
-rwxr-xr-xmu4web/password.py5
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: