changeset 3494:b5bed164dce0

frontends (primitivus): `SECTION_NAME` is now `CONFIG_SECTION`
author Goffi <goffi@goffi.org>
date Thu, 01 Apr 2021 13:57:20 +0200
parents b54bdd4ec507
children 6f7486683e20
files sat_frontends/primitivus/base.py
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sat_frontends/primitivus/base.py	Sat Mar 27 14:59:50 2021 +0100
+++ b/sat_frontends/primitivus/base.py	Thu Apr 01 13:57:20 2021 +0200
@@ -314,7 +314,9 @@
         # we already manage exit with a_key['APP_QUIT'], so we don't want C-c
         signal.signal(signal.SIGINT, signal.SIG_IGN)
         sat_conf = sat_config.parseMainConf()
-        self._bracketed_paste = C.bool(sat_config.getConfig(sat_conf, C.SECTION_NAME, 'bracketed_paste', 'false'))
+        self._bracketed_paste = C.bool(
+            sat_config.getConfig(sat_conf, C.CONFIG_SECTION, 'bracketed_paste', 'false')
+        )
         if self._bracketed_paste:
             log.debug("setting bracketed paste mode as requested")
             sys.stdout.write("\033[?2004h")