From 2322140af7c0c580fc108f851c02fd24743f4b8c Mon Sep 17 00:00:00 2001 From: Randall Winkhart Date: Thu, 8 Jun 2023 14:53:52 -0400 Subject: [PATCH] Directly specify device type for tweak menu Former-commit-id: 4969b540d5380edaddc26e7cd9d99a61f1a3ddbc Former-commit-id: 9c375230650f780180d0d96952397814bc2eacc2 --- lib/sshyp.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/sshyp.py b/lib/sshyp.py index 1f8d050..78aef20 100755 --- a/lib/sshyp.py +++ b/lib/sshyp.py @@ -830,7 +830,7 @@ if __name__ == "__main__": elif arguments[0] == 'tweak': success_flag = True from stweak import global_menu - global_menu(device_type, 'configuration options:') + global_menu('client', 'configuration options:') # server arguments else: @@ -847,7 +847,7 @@ if __name__ == "__main__": elif arg_count == 1 and arguments[0] == 'tweak': success_flag = True from stweak import global_menu - global_menu(device_type, 'configuration options:') + global_menu('server', 'configuration options:') elif arg_count > 2 and arguments[1] in ('add', 'del'): success_flag = True whitelist_manage(arguments[2])