changeset 2639:266f871fcb4b

jp (blog): fixed path encoding for inotify
author Goffi <goffi@goffi.org>
date Sun, 08 Jul 2018 11:15:22 +0200 (2018-07-08)
parents 1152e75d5ea5
children f93619e16ea0
files sat_frontends/jp/cmd_blog.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sat_frontends/jp/cmd_blog.py	Wed Jul 04 08:00:19 2018 +0200
+++ b/sat_frontends/jp/cmd_blog.py	Sun Jul 08 11:15:22 2018 +0200
@@ -755,7 +755,7 @@
 
             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,