1
1
mirror of https://github.com/eblot/pybootd.git synced 2024-09-11 22:17:44 +03:00

Fix #2. Thanks for the report

This commit is contained in:
Emmanuel Blot 2014-09-15 14:39:26 +02:00
parent 7fd7d045fd
commit d4ad0a479d

View File

@ -379,7 +379,7 @@ class TftpConnection(object):
@staticmethod
def is_url(path):
return urlparse.urlsplit(path)['scheme'] and True or False
return bool(urlparse.urlsplit(path).scheme)
class TftpServer: