hisxo / gitGraber

gitGraber: monitor GitHub to search and find sensitive data in real time for different online services such as: Google, Amazon, Paypal, Github, Mailgun, Facebook, Twitter, Heroku, Stripe...
GNU General Public License v3.0
2.02k stars 330 forks source link

Fix wrong indentation #24

Closed PatrikHudak closed 4 years ago

PatrikHudak commented 4 years ago

I believe that this two lines are responsible for many missed tokens from the results list:

When the Token has blacklist set to [] it evaluates to False. That means that for almost all tokens, code for adding found token to tokensFound was unreachable, causing missed results from the analysis.

rmarot commented 4 years ago

Hi Patrik,

Thank you very much for your PR. This looks good to me !

Thanks for your contribution.