1
0
mirror of https://github.com/craigerl/aprsd.git synced 2024-11-18 06:11:49 -05:00

Merge pull request #116 from jhmartin/fix-example-plugin

Example plugin wrong function
This commit is contained in:
Walter A. Boring IV 2023-06-14 11:26:38 -04:00 committed by GitHub
commit c99d5b859e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,7 +14,7 @@ class HelloPlugin(plugin.APRSDRegexCommandPluginBase):
command_regex = "^[hH]"
command_name = "hello"
def command(self, packet):
def process(self, packet):
LOG.info("HelloPlugin")
reply = f"Hello '{packet.from_call}'"
return reply