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')