2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-20 07:16:03 +00:00

31_LightScene.pm: cat json decode errors

git-svn-id: https://svn.fhem.de/fhem/trunk@17952 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme-1968 2018-12-11 09:50:16 +00:00
parent 22e3496f4c
commit e9e5ebe83f

View File

@ -402,7 +402,7 @@ LightScene_Load($)
my $decoded;
if( $LightScene_hasJSON ) {
$decoded = decode_json( $encoded );
$decoded = eval { decode_json($encoded) };
} elsif( $LightScene_hasDataDumper ) {
$decoded = eval $encoded;
}