Fixed a regression causing server arguments to be unusable

Former-commit-id: 89be58bc3a1ce059a4fbbe69a5a36498808f5f04
Former-commit-id: bc6d77c6b4c848905acf155d11a49283025941ff
This commit is contained in:
2023-03-01 21:46:25 -05:00
parent fbf5ac02a4
commit 30962b8cb2
+5 -2
View File
@@ -838,8 +838,11 @@ if __name__ == "__main__":
success_flag = True
read_shortcut()
elif arg_count == 0: # server arguments
if arg_count > 1 and arguments[0] == 'whitelist':
else: # server arguments
if arg_count < 1:
arguments.append('help')
print_info()
elif arg_count > 1 and arguments[0] == 'whitelist':
if arguments[1] in ('list', '-l'):
success_flag = True
whitelist_list()