SysDNS: bugfix

This commit is contained in:
GLolol 2014-05-17 22:10:31 -07:00
parent 70ad1e2716
commit cdc8942c7d

View File

@ -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: