2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 03:06:37 +00:00

59_GSI.pm: cosmetic fix in cvsid display

git-svn-id: https://svn.fhem.de/fhem/trunk@21380 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
herrmannj 2020-03-08 17:09:49 +00:00
parent 0dfcbceb54
commit 61a0518c84

View File

@ -49,6 +49,8 @@ sub GSI_Define {
my ($name, $type, $plz) = split /\s/, $def;
my $cvsid = '$Id$';
$cvsid =~ s/^.*pm\s//;
$cvsid =~ s/Z\s\S+\s\$$//;
return "German ZIP code required" unless ($plz =~ m/\d{5}/);
$hash->{'ZIP'} = $plz;