fix: use $klipper_cfg_loc in klipperscreen system check

This commit is contained in:
th33xitus
2021-01-28 16:25:25 +01:00
parent 8ad7f5d47c
commit b2b19f446b

View File

@@ -30,7 +30,8 @@ python3_check(){
}
system_check_klipperscreen(){
if [ ! -e ${HOME}/klipper_config/KlipperScreen.log ]; then
source_kiauh_ini
if [ ! -e $klipper_cfg_loc/KlipperScreen.log ]; then
KLIPPERSCREEN_SL_FOUND="false"
else
KLIPPERSCREEN_SL_FOUND="true"