add dot to match for total donated amount

This commit is contained in:
mischa 2022-12-05 17:30:01 +01:00
parent ba89b97e7d
commit dfe4be5f00
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ sub mailout {
my $month = strftime("%m", localtime);
my $response = HTTP::Tiny->new->get('https://openbsd.amsterdam/index.html');
my $total_donated = $1 if $response->{'content'} =~ /([0-9,]+) donated to the OpenBSD/;
my $total_donated = $1 if $response->{'content'} =~ /([0-9,\.]+) donated to the OpenBSD/;
my $total_vms = $1 if $response->{'content'} =~ /([0-9]+) VMs deployed/;
$response = HTTP::Tiny->new->get('https://openbsd.amsterdam/servers.html');
my $total_hosts = () = $response->{'content'} =~ /(\>Server )/g;