mirror of
https://github.com/jlu5/SupyPlugins.git
synced 2025-04-30 23:41:07 -05:00
SysDNS: bugfix
This commit is contained in:
parent
70ad1e2716
commit
cdc8942c7d
@ -60,7 +60,7 @@ class SysDNS(callbacks.Plugin):
|
||||
else:
|
||||
try:
|
||||
args = [cmd, '-t', dict(optlist)['type'], text]
|
||||
except IndexError:
|
||||
except KeyError:
|
||||
args = [cmd, text]
|
||||
try:
|
||||
with open(os.devnull) as null:
|
||||
|
Loading…
x
Reference in New Issue
Block a user