From 9e03d02f1805e1757cc18e2717fb862744497483 Mon Sep 17 00:00:00 2001 From: Goffi Date: Sun, 8 Jul 2018 11:15:22 +0200 Subject: [PATCH] jp (blog): fixed path encoding for inotify --- sat_frontends/jp/cmd_blog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sat_frontends/jp/cmd_blog.py b/sat_frontends/jp/cmd_blog.py index 20fa56d1..65c94f97 100644 --- a/sat_frontends/jp/cmd_blog.py +++ b/sat_frontends/jp/cmd_blog.py @@ -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,