2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 16:56:54 +00:00

72_UBUS_CLIENT.pm: Workaround for invalid JSON sent by Devolo Magic.

git-svn-id: https://svn.fhem.de/fhem/trunk@26517 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
xenos1984 2022-10-09 20:49:01 +00:00
parent 603534f58d
commit 33c147af08

View File

@ -490,6 +490,8 @@ sub Decode
my $buf = shift // return;
my $name = $hash->{NAME};
$buf =~ s/{"unknown"}/{}/g;
my $data;
eval { $data = decode_json($buf); };