From a8cf0fa724030e6bb3bf4228bdd7632a9a0b9905 Mon Sep 17 00:00:00 2001 From: Ciaran Gultnieks Date: Sun, 23 Feb 2014 22:33:44 +0000 Subject: [PATCH] Fix stats (broken in f3db000) --- fdroidserver/stats.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fdroidserver/stats.py b/fdroidserver/stats.py index cbafd1a4..9ede4e5b 100644 --- a/fdroidserver/stats.py +++ b/fdroidserver/stats.py @@ -148,9 +148,9 @@ def main(): alldownloads = 0 for appid in appscount: count = appscount[appid] - lst.append(app + " " + str(count)) + lst.append(appid + " " + str(count)) if config['stats_to_carbon']: - carbon_send('fdroid.download.' + app.replace('.', '_'), count) + carbon_send('fdroid.download.' + appid.replace('.', '_'), count) alldownloads += count lst.append("ALL " + str(alldownloads)) f = open('stats/total_downloads_app.txt', 'w') -- 2.30.2