2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 18:59:33 +00:00

98_todoist: bugfix

git-svn-id: https://svn.fhem.de/fhem/trunk@20930 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
marvin78 2020-01-10 09:59:49 +00:00
parent 2a4ee08225
commit aa0dd340a3

View File

@ -830,9 +830,7 @@ sub todoist_GetTasksCallback($$$){
if ((ref($decoded_json) eq "HASH" && !$decoded_json->{items}) || $decoded_json eq "") { if ((ref($decoded_json) eq "HASH" && !$decoded_json->{items}) || $decoded_json eq "") {
$hash->{helper}{errorData} = Dumper($data); $hash->{helper}{errorData} = Dumper($data);
$hash->{helper}{errorMessage} = "GetTasks: Response was damaged or empty. See log for details."; $hash->{helper}{errorMessage} = "GetTasks: Response was damaged or empty. See log for details.";
if (!$decoded_json->{items} && $decoded_json ne "") {
}
InternalTimer(gettimeofday()+0.2, "todoist_ErrorReadings",$hash, 0); InternalTimer(gettimeofday()+0.2, "todoist_ErrorReadings",$hash, 0);
} }
# got project # got project