tftpd.py: exception in "is_url" function
ahmadm opened this issue · comments
@staticmethod
def is_url(path):
return urlparse.urlsplit(path)['scheme'] and True or False
urlparse.urlsplit: Parse a URL into six components, returning a 6-tuple not a dictionary.
recommended to change it to:
return urlparse.urlsplit(path).scheme
thanks :)
Ahmad