Optimized RMSERVER.py port-job script

Former-commit-id: 8ac85dff97de4dabab373fa784d6cdf3d4ae3084
Former-commit-id: af32466a41e6f152507569df651eda1fa8502ef3
This commit is contained in:
2023-06-12 14:35:05 -04:00
parent da03e1e5f9
commit c7a8854f3f
2 changed files with 15 additions and 76 deletions
+3 -1
View File
@@ -831,7 +831,8 @@ if __name__ == "__main__":
success_flag = True
from stweak import global_menu
global_menu('client', 'configuration options:')
# PORT START ARGS-SERVER
# server arguments
else:
if arg_count < 1:
@@ -851,6 +852,7 @@ if __name__ == "__main__":
elif arg_count > 2 and arguments[1] in ('add', 'del'):
success_flag = True
whitelist_manage(arguments[2])
# PORT END ARGS-SERVER
if arg_count > 0 and success_flag == 0 and arguments[0] != 'sync':
if device_type == 'client' and arguments[0] not in ('help', '-h', 'version', '-v', 'license'):