1
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-05-07 22:29:19 +00:00

59_LuftdatenInfo: add missing use Encode

git-svn-id: https://svn.fhem.de/fhem/trunk@14261 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
igami 2017-05-13 01:16:46 +00:00
parent db91685250
commit 22c77a2f43

View File

@ -24,6 +24,7 @@
# packages ####################################################################
package main;
use Encode;
use strict;
use warnings;
@ -262,7 +263,6 @@ sub LuftdatenInfo_ParseHttpResponse($) {
Log3 $SELF, 4, "$TYPE ($SELF) - returned data: $data";
$data = encode('UTF-8', $data);
$data = eval{decode_json($data)};
if($@){