mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-08 16:30:28 +03:00
Fix new downloads-per-version stats
This commit is contained in:
parent
75cf7de7dd
commit
80b29453a5
1 changed files with 5 additions and 2 deletions
|
|
@ -162,8 +162,11 @@ def main():
|
|||
|
||||
f = open('stats/total_downloads_app_version.txt', 'w')
|
||||
f.write('# Total downloads by application and version, since October 2011\n')
|
||||
for appVer, count in sorted(appsVer):
|
||||
f.write(appVer + ' ' + str(count) + '\n')
|
||||
lst = []
|
||||
for appver, count in appsVer.iteritems():
|
||||
lst.append(appver + " " + str(count))
|
||||
for line in sorted(lst):
|
||||
f.write(line + "\n")
|
||||
f.close()
|
||||
|
||||
# Calculate and write stats for repo types...
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue