remove trace

This commit is contained in:
Hemna 2022-12-02 14:09:18 -05:00
parent 06d3664586
commit 295e35aa06
2 changed files with 7 additions and 3 deletions

View File

@ -1,7 +1,9 @@
import logging
import tweepy
from aprsd import messaging, plugin, trace
from aprsd import messaging, plugin
import aprsd_twitter_plugin
LOG = logging.getLogger("APRSD")
@ -9,7 +11,7 @@ LOG = logging.getLogger("APRSD")
class SendTweetPlugin(plugin.APRSDRegexCommandPluginBase):
version = "1.0"
version = aprsd_twitter_plugin.__version__
# Look for any command that starts with tw or tW or TW or Tw
command_regex = "^[tT][wW]"
# the command is for ?
@ -72,7 +74,6 @@ class SendTweetPlugin(plugin.APRSDRegexCommandPluginBase):
return api
@trace.trace
def process(self, packet):
"""This is called when a received packet matches self.command_regex."""

View File

@ -38,3 +38,6 @@ upload-dir = doc/build/html
[mypy]
ignore_missing_imports = True
strict = True
[bdist_wheel]
universal = 1