From d3298fc7be77142dc857bb9c80aaf6a1d86c2443 Mon Sep 17 00:00:00 2001 From: esea_info Date: Wed, 26 Jul 2023 11:15:08 +0800 Subject: [PATCH] bugfix --- profiler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/profiler.py b/profiler.py index 250df10..e27104d 100644 --- a/profiler.py +++ b/profiler.py @@ -541,8 +541,8 @@ class Profiler(object): def save(self, pth:Path, mode=0): ''' 保存在原文件所在目录 ''' - log.info( " >> save ", __class__, "save" ) - log.debug( f"Lw: {self.Lw}" ) + log.info( " >> save ", __class__.__name__, "save" ) + log.debug( f"Lw: {self.Lw}" ,__class__.__name__,'save') # pth = self.data.currentPath fname = "20"+self.data.info_frame.year+"_"+self.data.info_frame.month+"_" \