aboutsummaryrefslogtreecommitdiffstats
path: root/web/nms.gathering.org/switches-json.pl
diff options
context:
space:
mode:
authorJoachim Tingvold <joachim@tingvold.com>2015-04-01 03:50:30 +0200
committerroot <root@einstein.tg15.gathering.org>2015-04-01 03:50:30 +0200
commitd284e121df845de3118b720e374bf3bcfd1c9317 (patch)
tree773ae49e9b9dc1d4ea7ae44eb92a412bc5af4da1 /web/nms.gathering.org/switches-json.pl
parent41b1eca7a62d450bc0d2357027a6be6acd51a7a6 (diff)
NMS-changes
Diffstat (limited to 'web/nms.gathering.org/switches-json.pl')
-rwxr-xr-xweb/nms.gathering.org/switches-json.pl1
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,