mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
86_Robonect.pm: fixed issue which prevents the module from loading
git-svn-id: https://svn.fhem.de/fhem/trunk@12685 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
9a639c0d35
commit
6fac87ebea
@ -18,6 +18,7 @@
|
|||||||
# ABU 20160901 rounded duration and wlan
|
# ABU 20160901 rounded duration and wlan
|
||||||
# ABU 20161120 addaed encode_utf8 at json decode, tuned 0.5b repiar-stuff, added hibernate
|
# ABU 20161120 addaed encode_utf8 at json decode, tuned 0.5b repiar-stuff, added hibernate
|
||||||
# ABU 20161126 added summary
|
# ABU 20161126 added summary
|
||||||
|
# ABU 20161129 fixed hash issues which prevents the module from loading
|
||||||
|
|
||||||
package main;
|
package main;
|
||||||
|
|
||||||
@ -228,7 +229,7 @@ sub Robonect_Shutdown($)
|
|||||||
|
|
||||||
#hash may be de-referenced already
|
#hash may be de-referenced already
|
||||||
my $name = "robonect-not_named_any_more";
|
my $name = "robonect-not_named_any_more";
|
||||||
$name = $hash{NAME} if (ref($hash) eq 'HASH');
|
$name = $hash->{NAME} if (ref($hash) eq "HASH");
|
||||||
|
|
||||||
Log3 ($name, 5, "enter shutdown $name: hash: $hash name: $name");
|
Log3 ($name, 5, "enter shutdown $name: hash: $hash name: $name");
|
||||||
Log3 ($name, 5, "exit shutdown");
|
Log3 ($name, 5, "exit shutdown");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user