[Libreoffice-commits] dev-tools.git: esc-reporting/esc-analyze.py

Xisco Fauli (via logerrit) logerrit at kemper.freedesktop.org
Wed Oct 9 19:46:22 UTC 2019


 esc-reporting/esc-analyze.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 4bd5b83410a6ab82f7010f8a9680a0ccf18bc7f8
Author:     Xisco Fauli <xiscofauli at libreoffice.org>
AuthorDate: Wed Oct 9 21:44:21 2019 +0200
Commit:     Xisco Fauli <xiscofauli at libreoffice.org>
CommitDate: Wed Oct 9 21:44:21 2019 +0200

    ESC: Use correct json filename

diff --git a/esc-reporting/esc-analyze.py b/esc-reporting/esc-analyze.py
index 8085393..0ec0b39 100755
--- a/esc-reporting/esc-analyze.py
+++ b/esc-reporting/esc-analyze.py
@@ -959,7 +959,7 @@ def runAnalyze():
 
     x = (cfg['nowDate'] - datetime.timedelta(days=7)).strftime('%Y-%m-%d')
     with gzip.open(cfg['homedir'] + 'archive/stats_' + x + '.json.gz', 'rb'):
-      weekList = util_load_file(x + '.json')
+      weekList = util_load_file('stats_' + x + '.json')
 
     openhubData = util_load_data_file(cfg['homedir'] + 'dump/openhub_dump.json')
     bugzillaData = util_load_data_file(cfg['homedir'] + 'dump/bugzilla_dump.json')


More information about the Libreoffice-commits mailing list