Ver código fonte

fix: no-play argument for API client (#745)

Hao Guan 1 ano atrás
pai
commit
3147dd26ef
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      tools/api_client.py

+ 1 - 1
tools/api_client.py

@@ -61,7 +61,7 @@ def parse_args():
     )
     parser.add_argument(
         "--play",
-        type=bool,
+        action=argparse.BooleanOptionalAction,
         default=True,
         help="Whether to play audio after receiving data",
     )