mirror of
https://github.com/rwinkhart/sshyp.git
synced 2026-08-28 04:46:34 -04:00
Directly specify device type for tweak menu
Former-commit-id: 4969b540d5380edaddc26e7cd9d99a61f1a3ddbc Former-commit-id: 9c375230650f780180d0d96952397814bc2eacc2
This commit is contained in:
+2
-2
@@ -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])
|
||||
|
||||
Reference in New Issue
Block a user