There was an error while loading. Please reload this page.
1 parent ca3e611 commit 1d1bb95Copy full SHA for 1d1bb95
1 file changed
Lib/logging/__init__.py
@@ -511,7 +511,7 @@ def __init__(self, *args, **kwargs):
511
512
def usesTime(self):
513
fmt = self._fmt
514
- return fmt.find('$asctime') >= 0 or fmt.find(self.asctime_format) >= 0
+ return fmt.find('$asctime') >= 0 or fmt.find(self.asctime_search) >= 0
515
516
def validate(self):
517
pattern = Template.pattern
0 commit comments