SILENTTRINITY icon indicating copy to clipboard operation
SILENTTRINITY copied to clipboard

Small fix for cmdloop.py: Added hasattr() before loop (line 61) to avoid AttributeError

Open catwave opened this issue 4 years ago • 0 comments

Typing "use" and then either space, tab or backspace, in any other menus than "modules", "listeners" or "stagers" produces the following error:

2019-10-23-175947_1154x208_scrot 2019-10-23-180034_1151x211_scrot

I simply added a check with hasattr() to see if the current context has any attributes "available" to prevent this from occuring.

catwave avatar Oct 23 '19 22:10 catwave