Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
skjerns committed Dec 26, 2020
1 parent 7cfc12b commit 49e724c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyedflib/_extensions/_pyedflib.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -534,9 +534,9 @@ def open_file_writeonly(path, filetype, number_of_signals):
# Check if we're on Windows and the file path contains Unicode.
# If so, use workaround to create file: In Python, create the file,
# then look up and pass the short file name to the C library
if using_unicode:
if not using_unicode:
warnings.warn('Attempting to write Unicode file {} on Windows. ' \
'Consider chaning your locale to UTF8.'.format(path))
'Consider changing your locale to UTF8.'.format(path))
with open(path, 'wb'): pass
path = get_short_path_name(path)

Expand Down

0 comments on commit 49e724c

Please sign in to comment.