diff options
author | Joachim Tingvold <joachim@tingvold.com> | 2015-04-01 03:50:30 +0200 |
---|---|---|
committer | root <root@einstein.tg15.gathering.org> | 2015-04-01 03:50:30 +0200 |
commit | d284e121df845de3118b720e374bf3bcfd1c9317 (patch) | |
tree | 773ae49e9b9dc1d4ea7ae44eb92a412bc5af4da1 /web/nms.gathering.org/switches-json.pl | |
parent | 41b1eca7a62d450bc0d2357027a6be6acd51a7a6 (diff) |
NMS-changes
Diffstat (limited to 'web/nms.gathering.org/switches-json.pl')
-rwxr-xr-x | web/nms.gathering.org/switches-json.pl | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/web/nms.gathering.org/switches-json.pl b/web/nms.gathering.org/switches-json.pl index 2ccb247..0930d14 100755 --- a/web/nms.gathering.org/switches-json.pl +++ b/web/nms.gathering.org/switches-json.pl @@ -16,7 +16,6 @@ while (my $ref = $q->fetchrow_hashref()) { $ref->{'placement'} =~ /\((-?\d+),(-?\d+)\),\((-?\d+),(-?\d+)\)/; my ($x1, $y1, $x2, $y2) = ($1, $2, $3, $4); my $sysname = $ref->{'sysname'}; - $sysname =~ s/\..*$//; $json{'switches'}{$ref->{'switch'}} = { sysname => $sysname, x => $x2, |