fix small mistake in regx

master
Benjamin Schieder 2017-04-28 07:22:23 +01:00
parent 042a735442
commit 53f5efeb5e
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ FEED: foreach my $feed (@feeds){
my %data; my %data;
if (length($status) > 500){ if (length($status) > 500){
$status =~ s/^(.{497}).*$/\1.../g; $status =~ s/^(.{497}).*$/$1.../g;
} }
$data{status} = $status; $data{status} = $status;
$ENV{status} = encode_json({%data}); $ENV{status} = encode_json({%data});