Unable to scan raw paste : external values must be of type integer, float, boolean, or string
cran1um opened this issue · 2 comments
cran1um commented
attempting to use the current master branch code....
This line seems to be causing problems:
https://github.com/kevthehermit/PasteHunter/blob/master/pastehunter.py#L218
matches = rules.match(data=raw_paste_data, externals={'filename': paste_data.get('filename')})
changing it back to
matches = rules.match(data=raw_paste_data)
as it was before
35970ea#diff-89a786455794920a3b00d8ef290451db
seems to allow it to work, but I don't understand what was being done to add support for filenames in rules... I think this still needs some work/review
Plazmaz commented
cran1um commented
looks like I was pulling around the same time you were patching. Latest commit looks like it is resolved. Thanks!