Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def clean(self, text, **kwargs):
if 'replace_with' in kwargs:
scrubadub.filth.base.Filth.lookup = scrubadub.utils.Lookup()
return scrubadub.clean(text, **kwargs)