]> gb7djk.dxcluster.net Git - spider.git/commitdiff
allow amsat keps to work again.
authorminima <minima>
Thu, 15 Feb 2007 15:09:29 +0000 (15:09 +0000)
committerminima <minima>
Thu, 15 Feb 2007 15:09:29 +0000 (15:09 +0000)
perl/convkeps.pl

index 5b546ca7839d5a05979ccfea3d0830f1dfe15bc1..9fda8e820dcaa6f0b36a2f64f606594ec6610af8 100755 (executable)
@@ -104,7 +104,7 @@ while (<$f>) {
                last if m{^-};
                next if m{^To\s+all}i;
                
                last if m{^-};
                next if m{^To\s+all}i;
                
-               if (/^([- \w]+)(?:\s+\[[-+\w]\])$/) {
+               if (/^([- \w]+)(?:\s+\[[-+\w]\])?$/) {
                        my $n = uc $1;
                        $n =~ s/\s/-/g;
                        $name = $lookup{$n};
                        my $n = uc $1;
                        $n =~ s/\s/-/g;
                        $name = $lookup{$n};