Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion avocado-setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
from lib.logger import logger_init
from lib import helper

AVOCADO_CONFIG_DIR = "%s/.config/avocado" % os.environ['HOME']
_AVOCADO_USER_BASE = os.environ.get("VIRTUAL_ENV") or os.environ['HOME']
AVOCADO_CONFIG_DIR = "%s/.config/avocado" % _AVOCADO_USER_BASE
BASE_PATH = os.path.dirname(os.path.abspath(__file__))
CONFIG_PATH = "%s/config/wrapper/env.conf" % BASE_PATH
CONFIGFILE = configparser.ConfigParser()
Expand Down