2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00

98_weekprofile: improve log message file not found

git-svn-id: https://svn.fhem.de/fhem/trunk@21324 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
Risiko 2020-03-01 17:53:27 +00:00
parent 54fe2afd81
commit 895ab02255

View File

@ -1398,9 +1398,13 @@ sub weekprofile_readProfilesFromFile(@)
if ($ret) { if ($ret) {
if (configDBUsed()){ if (configDBUsed()){
Log3 $me, 1, "$me(readProfilesFromFile): please import your config file $filename into configDB!"; Log3 $me, 1, "$me(readProfilesFromFile): please import your config file $filename into configDB!";
} else {
if ($ret =~ m/.*Can't open.*/) {
Log3 $me, 3, "$me(readProfilesFromFile): $ret - save profil(s) at least one time";
} else { } else {
Log3 $me, 1, "$me(readProfilesFromFile): $ret"; Log3 $me, 1, "$me(readProfilesFromFile): $ret";
} }
}
return; return;
} }