Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Jan 29, 2024
1 parent bc2e507 commit 84fef51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wcwidth/wcwidth.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,12 +252,12 @@ def _wcmatch_version(given_version):
unicode_versions = list_versions()
latest_version = unicode_versions[-1]

if given_version in ('auto', 'auto'):
if given_version == 'auto':
given_version = os.environ.get(
'UNICODE_VERSION',
'latest')

if given_version in ('latest', 'latest'):
if given_version == 'latest':
# default match, when given as 'latest', use the most latest unicode
# version specification level supported.
return latest_version
Expand Down

0 comments on commit 84fef51

Please sign in to comment.