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