This commit is contained in:
cmcmarrow 2023-05-03 15:15:44 -05:00 committed by Pedro Algarvio
parent 370d6e4f0f
commit a303fdded7

View file

@ -336,7 +336,7 @@ __func_alias__ = {
def _http_ftp_check(source):
"""
Check if source or sources
Check if source or sources is http or ftp.
"""
if isinstance(source, str):
return source.lower().startswith(("http:", "ftp:"))