From d627522c611dc5f1fdf7a3e482fb37010fa5682f Mon Sep 17 00:00:00 2001 From: Michael Woolweaver Date: Mon, 15 Apr 2019 22:41:39 -0500 Subject: [PATCH] Translated output to english --- pihole_tweeter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pihole_tweeter.py b/pihole_tweeter.py index 31fadb7..37f3c45 100644 --- a/pihole_tweeter.py +++ b/pihole_tweeter.py @@ -61,9 +61,9 @@ def get_pihole_data(): def construct_tweet(data): today = datetime.today().strftime("%m.%d.%Y") - tweet = 'Pi-hole statistics for {date}:\n'.format(date=today) + tweet = 'Pi-hole Stats for {date}:\n'.format(date=today) tweet += 'Total Ads Blocked: ' + (data['ads_blocked_today']) - tweet += ' (' + (data['ads_percentage_today'] + ' %)\n' + tweet += ' (' + (data['ads_percentage_today']) + ' %)\n' tweet += 'Total DNS Queries: ' + (data['dns_queries_today']) + '\n' tweet += 'Domains on Blacklist: ' + (data['domains_being_blocked']) return tweet