From f16ec9db254bc2316666cbc3d41e86e96c6da11a Mon Sep 17 00:00:00 2001 From: Chun Ly Date: Wed, 16 Sep 2020 09:58:22 -0700 Subject: [PATCH] add_grouper_groups: Fix logfile name #42 --- scripts/add_grouper_groups | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/add_grouper_groups b/scripts/add_grouper_groups index 89a0d1a4..bc3feb55 100644 --- a/scripts/add_grouper_groups +++ b/scripts/add_grouper_groups @@ -105,7 +105,7 @@ if __name__ == '__main__': if not path.exists(log_dir): mkdir(log_dir) logfile_prefix = config.get('global', 'logfile_prefix') - logfile = f"add_groups.{today.strftime('%Y-%m-%d')}.log""{}.{}.log" + logfile = f"add_groups.{today.strftime('%Y-%m-%d')}.log" log = LogClass(log_dir, logfile).get_logger()