mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-09-17 10:40:12 +02:00
Fix new downloads-per-version stats
This commit is contained in:
parent
75cf7de7dd
commit
80b29453a5
@ -162,8 +162,11 @@ def main():
|
|||||||
|
|
||||||
f = open('stats/total_downloads_app_version.txt', 'w')
|
f = open('stats/total_downloads_app_version.txt', 'w')
|
||||||
f.write('# Total downloads by application and version, since October 2011\n')
|
f.write('# Total downloads by application and version, since October 2011\n')
|
||||||
for appVer, count in sorted(appsVer):
|
lst = []
|
||||||
f.write(appVer + ' ' + str(count) + '\n')
|
for appver, count in appsVer.iteritems():
|
||||||
|
lst.append(appver + " " + str(count))
|
||||||
|
for line in sorted(lst):
|
||||||
|
f.write(line + "\n")
|
||||||
f.close()
|
f.close()
|
||||||
|
|
||||||
# Calculate and write stats for repo types...
|
# Calculate and write stats for repo types...
|
||||||
|
Loading…
Reference in New Issue
Block a user