From 629ee5b548d84f496fff352aa14b3de8b9071099 Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Mon, 17 Oct 2022 18:21:41 +0200 Subject: [PATCH] update module path --- seed/vaultwarden/funcs/vaultwarden.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/seed/vaultwarden/funcs/vaultwarden.py b/seed/vaultwarden/funcs/vaultwarden.py index ee466f6..f3c3a5f 100644 --- a/seed/vaultwarden/funcs/vaultwarden.py +++ b/seed/vaultwarden/funcs/vaultwarden.py @@ -1,10 +1,10 @@ import __main__ -from os.path import dirname as _dirname, abspath as _abspath, join as _join, isfile as _isfile, isdir as _isdir -from os import makedirs as _makedirs +from os.path import join as _join, isfile as _isfile, isdir as _isdir +from os import makedirs as _makedirs, environ as _environ from uuid import uuid4 as _uuid4 -_HERE = _dirname(_dirname(_abspath(__main__.__file__))) +_HERE = _environ['PWD'] _PASSWORD_DIR = _join(_HERE, 'password')