fix issue with long text

#34
by makram93 - opened

When checking if clean_text passed is a file, Path throws an error when the value is too long. We could avoid this by wrapping it in a try-except block

LGTM

makram93 changed pull request status to merged

Sign up or log in to comment