mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-06 23:40:29 +03:00
Fix stats (broken in f3db000)
This commit is contained in:
parent
e13b483d99
commit
a8cf0fa724
1 changed files with 2 additions and 2 deletions
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue