1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-04 14:30:11 +01:00

stats: don't include disabled apps

This commit is contained in:
Daniel Martí 2014-07-23 19:55:45 +02:00
parent a5f0f439c5
commit 52a0773d71

View File

@ -71,7 +71,7 @@ def main():
sys.exit(1)
# Get all metadata-defined apps...
metaapps = metadata.read_metadata()
metaapps = [a for a in metadata.read_metadata() if not a['Disabled']]
statsdir = 'stats'
logsdir = os.path.join(statsdir, 'logs')