From 22cae9059d3f684009bc4e63bcb5d4ed1557b5ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dirk=20St=C3=B6cker?= Date: Wed, 10 Jun 2020 18:42:16 +0200 Subject: [PATCH] fix regexp --- bin/tirex-tiledir-stat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/tirex-tiledir-stat b/bin/tirex-tiledir-stat index 75ea297..9d695e9 100755 --- a/bin/tirex-tiledir-stat +++ b/bin/tirex-tiledir-stat @@ -65,7 +65,7 @@ if (scalar(@ARGV) == 0) $ARGV[0] = Tirex::Config::get('stats_dir', '/var/lib/tirex/stats') . '/tiles.stats'; } my $json = join('', <>); -$json =~ s/\n}\n\n{/,/g; # join individual files +$json =~ s/\n\}\n\n\{/,/g; # join individual files my $stats = JSON::from_json($json);