From 46d16ba23e3302fe527fbdea03ab8fc36d54e51f Mon Sep 17 00:00:00 2001 From: mose Date: Tue, 19 Jul 2022 04:29:35 +0800 Subject: [PATCH] tune scripts --- scripts/generate_chat_stat_daily.py | 2 +- scripts/generate_chat_stat_monthly.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/generate_chat_stat_daily.py b/scripts/generate_chat_stat_daily.py index 8443fc7..37b71c7 100644 --- a/scripts/generate_chat_stat_daily.py +++ b/scripts/generate_chat_stat_daily.py @@ -106,7 +106,7 @@ def main(): userGlobal = createElement( 'global', 'red', uniqueUserGlobal) usersGlobal.append(userGlobal) - save(info, "site/data/chat_stat_daily") + save(info, "chat_stat_daily") def filter_message(mess): if 't' in mess: diff --git a/scripts/generate_chat_stat_monthly.py b/scripts/generate_chat_stat_monthly.py index a61cf6d..5de32e2 100644 --- a/scripts/generate_chat_stat_monthly.py +++ b/scripts/generate_chat_stat_monthly.py @@ -108,7 +108,7 @@ def main(): userGlobal = createElement( 'global', 'red', uniqueUserGlobal) usersGlobal.append(userGlobal) - save(info, "site/data/chat_stat_monthly") + save(info, "chat_stat_monthly") if __name__ == "__main__": main() \ No newline at end of file