Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19aed90 commit e08c8f2Copy full SHA for e08c8f2
1 file changed
lib/core/option.py
@@ -940,7 +940,7 @@ def _setTamperingFunctions():
940
priority = PRIORITY.NORMAL if not hasattr(module, '__priority__') else module.__priority__
941
942
for name, function in inspect.getmembers(module, inspect.isfunction):
943
- if name == "tamper":
+ if name == "tamper" and inspect.getargspec(function).args and inspect.getargspec(function).keywords == "kwargs":
944
found = True
945
kb.tamperFunctions.append(function)
946
function.func_name = module.__name__
0 commit comments