fix: front-end autowire
This commit is contained in:
parent
5224fe78b6
commit
7c0ef15567
4 changed files with 15 additions and 11 deletions
|
|
@ -12,7 +12,7 @@ class Passwords:
|
|||
settings = get_settings()
|
||||
|
||||
with open(settings.kp.secret, "r") as fh:
|
||||
secret = fh.read()
|
||||
secret = fh.read().splitlines()[0]
|
||||
self._path = settings.kp.file
|
||||
self._kp_org = self._open_or_create(self._path, secret)
|
||||
self._kp = self._open_lock(self._path, secret)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue