Fixed 'version', '-v', and 'license' arguments causing an unnecessary extension check

Former-commit-id: 1841bca9844455a8f11408a7adff67c399246397
Former-commit-id: e24216f8c11eeb1bf5bf946d27c8f82055778a88
This commit is contained in:
2023-03-01 19:16:10 -05:00
parent 6907c10f81
commit 7d26170d7f
+1 -1
View File
@@ -850,7 +850,7 @@ if __name__ == "__main__":
whitelist_setup()
if arg_count > 0 and success_flag == 0 and arguments[0] != 'sync':
if device_type == 'client' and arguments[0] not in ('help', '-h'):
if device_type == 'client' and arguments[0] not in ('help', '-h', 'version', '-v', 'license'):
extension_runner()
else:
print_info()