Mercurial > libervia-backend
changeset 2598:0b6adc2672d9
jp (blog/preview): fixed guessSyntaxFromPath call
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 01 Jun 2018 12:02:09 +0200 |
parents | 9446f1ea9eac |
children | 5b26033c49a8 |
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 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