Skip to content

Commit

Permalink
Ensure ObservedWatch.path is a string (fix gorakhargosh#651)
Browse files Browse the repository at this point in the history
  • Loading branch information
rec committed Feb 26, 2020
1 parent 1675cb6 commit c00d914
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/watchdog/observers/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class ObservedWatch(object):
"""

def __init__(self, path, recursive):
self._path = path
self._path = str(path)
self._is_recursive = recursive

@property
Expand Down

0 comments on commit c00d914

Please sign in to comment.