From 4b0fb94782326453a04164cc0a13fd06b568670a Mon Sep 17 00:00:00 2001 From: up-n-atom Date: Fri, 15 Sep 2023 02:01:32 -0400 Subject: [PATCH] MAC address type is a string and processed --- xmo-remote-client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmo-remote-client.py b/xmo-remote-client.py index d529788..1d7df80 100755 --- a/xmo-remote-client.py +++ b/xmo-remote-client.py @@ -147,7 +147,7 @@ def validate_mac_address(ctx: click.Context, param: click.Parameter, value: str) @cli.command() -@click.option('-m', '--mac-address', type=click.UNPROCESSED, callback=validate_mac_address, prompt=True) +@click.option('-m', '--mac-address', callback=validate_mac_address, prompt=True) @click.pass_obj async def enable_advanced_dmz(client: SagemcomClient, mac_address: str) -> None: await client.set_value_by_xpath('Device/Services/BellNetworkCfg/AdvancedDMZ/Enable', False)