chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e13b483
)
Fix stats (broken in f3db000)
author
Ciaran Gultnieks
<ciaran@ciarang.com>
Sun, 23 Feb 2014 22:33:44 +0000
(22:33 +0000)
committer
Ciaran Gultnieks
<ciaran@ciarang.com>
Sun, 23 Feb 2014 22:34:27 +0000
(22:34 +0000)
fdroidserver/stats.py
patch
|
blob
|
history
diff --git
a/fdroidserver/stats.py
b/fdroidserver/stats.py
index cbafd1a4b8620aac797aa654a04e59b33a57d0ac..9ede4e5b6dd5b2f209f4b8edc667ac34fe6ab813 100644
(file)
--- 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(app
id
+ " " + str(count))
if config['stats_to_carbon']:
- carbon_send('fdroid.download.' + app.replace('.', '_'), count)
+ carbon_send('fdroid.download.' + app
id
.replace('.', '_'), count)
alldownloads += count
lst.append("ALL " + str(alldownloads))
f = open('stats/total_downloads_app.txt', 'w')