jp (blog): fixed path encoding for inotify
This commit is contained in:
parent
133e184c5e
commit
9e03d02f18
1 changed files with 1 additions and 1 deletions
|
|
@ -755,7 +755,7 @@ class Preview(base.CommandBase):
|
|||
|
||||
def add_watch():
|
||||
i.add_watch(
|
||||
self.content_file_path,
|
||||
self.content_file_path.encode('utf-8'),
|
||||
mask=inotify.constants.IN_CLOSE_WRITE
|
||||
| inotify.constants.IN_DELETE_SELF
|
||||
| inotify.constants.IN_MOVE_SELF,
|
||||
|
|
|
|||
Loading…
Reference in a new issue