diff --git a/build.sh b/build.sh index 5e4d368..a708dda 100755 --- a/build.sh +++ b/build.sh @@ -4,7 +4,7 @@ if [ -d unpack ]; then sudo rm -rf unpack fi -version="3.0.3" +version="3.0.4" mkdir -p unpack/DEBIAN diff --git a/usr/lib/hosts-switch/hosts-switch.py b/usr/lib/hosts-switch/hosts-switch.py index eb32937..f7ba9a0 100755 --- a/usr/lib/hosts-switch/hosts-switch.py +++ b/usr/lib/hosts-switch/hosts-switch.py @@ -13,8 +13,8 @@ APP_ID = 'fun.wkit.hosts-switch' __dir__ = os.path.dirname(os.path.realpath(__file__)) web_root = os.path.join(__dir__, './webapp') -home_dir = os.getenv('HOME'), -config_dir = os.path.join(os.getenv('HOME'), '.config/hosts-switch'), +home_dir = os.getenv('HOME') +config_dir = os.path.join(home_dir, '.config/hosts-switch') if not os.path.isdir(config_dir):