Open dchaplinsky opened 9 years ago
I want to use slash/dir sep and leading dots removal, yet I want to preserve extension.
Which leads to a code like this:
parsed = parse_requests_response(resp) fname = parsed.filename_sanitized( os.path.splitext(parsed.filename_unsafe)[-1].strip("."))
Can make you a PR if you want.
I want to use slash/dir sep and leading dots removal, yet I want to preserve extension.
Which leads to a code like this:
Can make you a PR if you want.