mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-07 22:29:19 +00:00
39_alexa.pm: replace + in alexaMapping by space
git-svn-id: https://svn.fhem.de/fhem/trunk@13436 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
f3a34e7e39
commit
1b360947a4
@ -175,6 +175,7 @@ alexa_Get($$@)
|
|||||||
foreach my $part (@parts) {
|
foreach my $part (@parts) {
|
||||||
my @p = split( '=', $part );
|
my @p = split( '=', $part );
|
||||||
if( $p[1] =~ m/;/ ) {
|
if( $p[1] =~ m/;/ ) {
|
||||||
|
$p[1] =~ s/\+/ /g;
|
||||||
my @values = split(';', $p[1]);
|
my @values = split(';', $p[1]);
|
||||||
my @values2 = grep {$_ ne ''} @values;
|
my @values2 = grep {$_ ne ''} @values;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user