diff options
-rw-r--r-- | Lib/logging/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/logging/__init__.py b/Lib/logging/__init__.py index 09810bd..d1d4333 100644 --- a/Lib/logging/__init__.py +++ b/Lib/logging/__init__.py @@ -487,7 +487,7 @@ class StringTemplateStyle(PercentStyle): def usesTime(self): fmt = self._fmt - return fmt.find('$asctime') >= 0 or fmt.find(self.asctime_format) >= 0 + return fmt.find('$asctime') >= 0 or fmt.find(self.asctime_search) >= 0 def validate(self): pattern = Template.pattern |