Plugin amr: fix regex issue

An unescpaed left brace is rejected by recent versions of perl.
This commit is contained in:
Lars Kruse 2019-08-12 05:49:33 +02:00
parent 9695f9d635
commit fe379b6f05
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ sub parse
while (<$log>) {
# \d protects us against HTML injection here, be careful when changing
if (m,SCM:{ID:(\d+) +.* +Consumption: +(\d+) +,) {
if (m,SCM:\{ID:(\d+) +.* +Consumption: +(\d+) +,) {
$stations{$1} = $2;
$signals{$1}++;
}