From eacf3ae802bdee5ca11442facb029f8b0079095d Mon Sep 17 00:00:00 2001 From: The MMGen Project Date: Sat, 26 Nov 2022 18:55:55 +0000 Subject: [PATCH] minor fix and cleanup --- mmgen/tw/view.py | 4 ++-- test/test_py_d/ts_regtest.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mmgen/tw/view.py b/mmgen/tw/view.py index bf5ab579..657c2983 100755 --- a/mmgen/tw/view.py +++ b/mmgen/tw/view.py @@ -107,7 +107,7 @@ class TwView(MMGenObject,metaclass=AsyncInit): --columns or MMGEN_COLUMNS value ({}) is too small to display the {}. Minimum value for this configuration: {} """ - twid_errmsg = """ + twidth_errmsg = """ Screen is too narrow to display the {} Please resize your screen to at least {} characters and hit any key: """ @@ -218,7 +218,7 @@ class TwView(MMGenObject,metaclass=AsyncInit): if g.columns: die(1,'\n'+fmt(self.tcols_errmsg.format(g.columns,self.desc,min_cols),indent=' ')) else: - get_char_raw('\n'+fmt(self.twid_errmsg.format(self.desc,min_cols),append='')) + get_char_raw('\n'+fmt(self.twidth_errmsg.format(self.desc,min_cols),append='')) else: return min_cols diff --git a/test/test_py_d/ts_regtest.py b/test/test_py_d/ts_regtest.py index 7fe01939..2fc9ff86 100755 --- a/test/test_py_d/ts_regtest.py +++ b/test/test_py_d/ts_regtest.py @@ -164,7 +164,7 @@ class TestSuiteRegtest(TestSuiteBase,TestSuiteShared): ('subgroup.txhist', ['main']), ('subgroup.label', ['main']), ('subgroup.view', ['label']), - ('subgroup.auto_chg', ['view']), + ('subgroup.auto_chg', ['label']), ('stop', 'stopping regtest daemon'), ) cmd_subgroups = {