diff sat_frontends/jp/cmd_blog.py @ 2598:0b6adc2672d9

jp (blog/preview): fixed guessSyntaxFromPath call
author Goffi <goffi@goffi.org>
date Fri, 01 Jun 2018 12:02:09 +0200
parents 26edcf3a30eb
children 56f94936df1e
line wrap: on
line diff
--- a/sat_frontends/jp/cmd_blog.py	Fri May 25 10:52:01 2018 +0200
+++ b/sat_frontends/jp/cmd_blog.py	Fri Jun 01 12:02:09 2018 +0200
@@ -561,7 +561,7 @@
         else:
             self.content_file_path = os.path.abspath(self.args.file)
 
-        self.syntax = self.guessSyntaxFromPath(sat_conf, self.content_file_path)
+        self.syntax = guessSyntaxFromPath(self.host, sat_conf, self.content_file_path)
 
 
         # at this point the syntax is converted, we can display the preview