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

@ -2,7 +2,7 @@
# $Id$ # $Id$
# #
# Usage # Usage
# #
# define <name> weekprofile [device] # define <name> weekprofile [device]
############################################## ##############################################
@ -1399,7 +1399,11 @@ sub weekprofile_readProfilesFromFile(@)
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 { } else {
Log3 $me, 1, "$me(readProfilesFromFile): $ret"; if ($ret =~ m/.*Can't open.*/) {
Log3 $me, 3, "$me(readProfilesFromFile): $ret - save profil(s) at least one time";
} else {
Log3 $me, 1, "$me(readProfilesFromFile): $ret";
}
} }
return; return;
} }