1
0
mirror of https://github.com/craigerl/aprsd.git synced 2026-06-11 18:38:48 -04:00

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

Example plugin wrong function
This commit is contained in:
2023-06-14 11:26:38 -04:00
committed by GitHub
+1 -1
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