Skip to content

Commit

Permalink
Merge pull request #298 from vulpeszerda/master
Browse files Browse the repository at this point in the history
Bugfixed in fsevents2.py. unicode path arg not properly set
  • Loading branch information
tamland committed Feb 22, 2015
2 parents 0a70d87 + 4cd5138 commit 67b53b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/watchdog/observers/fsevents2.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ def __init__(self, path):
self._run_loop = None

if isinstance(path, bytes):
self._path = path.decode('utf-8')
self._path = unicodedata.normalize('NFC', self._path)
path = path.decode('utf-8')
self._path = unicodedata.normalize('NFC', path)

context = None
latency = 1.0
Expand Down

0 comments on commit 67b53b6

Please sign in to comment.