2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-22 02:10:32 +00:00

47_OBIS: Removed an accidatialy inserted '}'

git-svn-id: https://svn.fhem.de/fhem/trunk@12525 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
icinger 2016-11-07 21:18:37 +00:00
parent 66c432b3f6
commit d7dbdb07d0

View File

@ -526,7 +526,7 @@ sub OBIS_Parse($$)
} }
if (AttrVal($name,"unitReadings","off") eq "off") { if (AttrVal($name,"unitReadings","off") eq "off") {
$v1=~s/(.*)\*.*/$1/; $v1=~s/(.*)\*.*/$1/;
if (length $v2) {}$v2=~s/(.*)\*.*/$1/}; if (length $v2) {}$v2=~s/(.*)\*.*/$1/;
} }
$v1+=0 if (looks_like_number($v1)); $v1+=0 if (looks_like_number($v1));
$v2+=0 if (looks_like_number($v2)); $v2+=0 if (looks_like_number($v2));