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')