diff --git a/src/dashboard.py b/src/dashboard.py index 5fdcd20..5f8fa01 100644 --- a/src/dashboard.py +++ b/src/dashboard.py @@ -1705,6 +1705,7 @@ def get_host_bind(): if __name__ == "__main__": + init_dashboard() UPDATE = check_update() config = configparser.ConfigParser(strict=False) config.read('wg-dashboard.ini') diff --git a/src/wgd.sh b/src/wgd.sh index 26c1ba0..4424fba 100755 --- a/src/wgd.sh +++ b/src/wgd.sh @@ -33,6 +33,7 @@ help () { } _check_and_set_venv(){ + # This function will not be using in v3.0 # deb/ubuntu users: might need a 'apt install python3.8-venv' # set up the local environment APP_ROOT=`pwd`