Skip to content

Commit

Permalink
Handle weird logging edge case in universaldetector.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-blanchard committed Dec 8, 2020
1 parent 056a2a4 commit 1db0347
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions chardet/universaldetector.py
Expand Up @@ -280,7 +280,7 @@ def close(self):
prober.get_confidence())
else:
self.logger.debug('%s %s confidence = %s',
prober.charset_name,
prober.language,
prober.get_confidence())
group_prober.charset_name,
group_prober.language,
group_prober.get_confidence())
return self.result

0 comments on commit 1db0347

Please sign in to comment.