diff sat_frontends/jp/cmd_avatar.py @ 3631:bef32f3ccc06

merge branche "@"
author Goffi <goffi@goffi.org>
date Fri, 27 Aug 2021 14:51:40 +0200
parents 82e616b70a2a
children 524856bd7b19
line wrap: on
line diff
--- a/sat_frontends/jp/cmd_avatar.py	Fri Aug 27 08:49:45 2021 +0200
+++ b/sat_frontends/jp/cmd_avatar.py	Fri Aug 27 14:51:40 2021 +0200
@@ -49,7 +49,7 @@
 
     async def showImage(self, path):
         sat_conf = config.parseMainConf()
-        cmd = config.getConfig(sat_conf, "jp", "image_cmd")
+        cmd = config.getConfig(sat_conf, C.CONFIG_SECTION, "image_cmd")
         cmds = [cmd] + DISPLAY_CMD if cmd else DISPLAY_CMD
         for cmd in cmds:
             try: