Added optional colorama dependency to allow colours in windows console
Added flag to disable ansi colours. Fixes #10 Now passing plugin loader to plugins onEnable
This commit is contained in:
1 parent
6025e97932
commit
4988ab6ae1
7 files changed
+30
-18
No files matched your search
@@ -7,7 +7,7 @@ class PacketDumper:
|
||||
options = None
|
||||
writeFile = None
|
||||
|
||||
def onEnable(self, parser):
|
||||
def onEnable(self, parser, pluginloader):
|
||||
parser.add_option("-d", "--dump-packets",
|
||||
action="store_true", dest="dumpPackets", default=False,
|
||||
help="run with this argument to dump packets")
|
||||
|
||||
Reference in new issue
Block a user