修复一处语法错误

master
yutent 2023-09-11 14:55:19 +08:00
parent 842793ff79
commit da94875407
2 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@ if [ -d unpack ]; then
sudo rm -rf unpack sudo rm -rf unpack
fi fi
version="3.0.3" version="3.0.4"
mkdir -p unpack/DEBIAN mkdir -p unpack/DEBIAN

View File

@ -13,8 +13,8 @@ APP_ID = 'fun.wkit.hosts-switch'
__dir__ = os.path.dirname(os.path.realpath(__file__)) __dir__ = os.path.dirname(os.path.realpath(__file__))
web_root = os.path.join(__dir__, './webapp') web_root = os.path.join(__dir__, './webapp')
home_dir = os.getenv('HOME'), home_dir = os.getenv('HOME')
config_dir = os.path.join(os.getenv('HOME'), '.config/hosts-switch'), config_dir = os.path.join(home_dir, '.config/hosts-switch')
if not os.path.isdir(config_dir): if not os.path.isdir(config_dir):