mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 09:16:53 +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:
parent
0dfcbceb54
commit
61a0518c84
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user