diff --git a/meshtastic/__main__.py b/meshtastic/__main__.py index f0813b0..2d41d88 100644 --- a/meshtastic/__main__.py +++ b/meshtastic/__main__.py @@ -338,11 +338,11 @@ def onConnected(interface): if 'owner_short' in configuration: print(f"Setting device owner short to {configuration['owner_short']}") - interface.getNode(args.dest).setOwner(long_name=None, short_owner=configuration['owner_short']) + interface.getNode(args.dest).setOwner(long_name=None, short_name=configuration['owner_short']) if 'ownerShort' in configuration: print(f"Setting device owner short to {configuration['ownerShort']}") - interface.getNode(args.dest).setOwner(long_name=None, short_owner=configuration['ownerShort']) + interface.getNode(args.dest).setOwner(long_name=None, short_name=configuration['ownerShort']) if 'channel_url' in configuration: print("Setting channel url to", configuration['channel_url'])