mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 16:56:54 +00:00
73_km200.pm: bugfix: Errorlist unsorted timestamp part 3
git-svn-id: https://svn.fhem.de/fhem/trunk@14195 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
82e16117a1
commit
bfbb93c52a
@ -2342,7 +2342,7 @@ sub km200_ParseHttpResponseInit($)
|
|||||||
|
|
||||||
### Create message string with fixed blocksize
|
### Create message string with fixed blocksize
|
||||||
my $TempTime = $item->{t};
|
my $TempTime = $item->{t};
|
||||||
$TempTime =~ s/^(.+)$/sprintf("%s%s", $1, ' 'x(20-length($1)))/e;
|
if ($TempTime) {$TempTime =~ s/^(.+)$/sprintf("%s%s", $1, ' 'x(20-length($1)))/e;}
|
||||||
my $TempErrorCode = $item->{dcd};
|
my $TempErrorCode = $item->{dcd};
|
||||||
$TempErrorCode =~ s/^(.+)$/sprintf("%s%s", $1, ' 'x(3 -length($1)))/e;
|
$TempErrorCode =~ s/^(.+)$/sprintf("%s%s", $1, ' 'x(3 -length($1)))/e;
|
||||||
my $TempAddCode = $item->{ccd};
|
my $TempAddCode = $item->{ccd};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user