diff sat_frontends/jp/cmd_blog.py @ 3046:d9f328374473

jp: dark and light theme: - `background` setting can now be used in sat.conf to indicate if the terminal use a `dark` or a `light` colour - if `background` is not set or set to `auto`, the background colour is autodetected - Jp.get_config (or CommandBase.get_config) method can now be used to retrieve a setting
author Goffi <goffi@goffi.org>
date Tue, 01 Oct 2019 22:49:10 +0200
parents fee60f17ebac
children 2a7dfe43b161
line wrap: on
line diff
--- a/sat_frontends/jp/cmd_blog.py	Tue Oct 01 22:49:10 2019 +0200
+++ b/sat_frontends/jp/cmd_blog.py	Tue Oct 01 22:49:10 2019 +0200
@@ -719,7 +719,7 @@
         else:
             aionotify = None
 
-        sat_conf = config.parseMainConf()
+        sat_conf = self.sat_conf
         SYNTAX_EXT.update(config.getConfig(sat_conf, "jp", CONF_SYNTAX_EXT, {}))
 
         try: