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:
parent
7fd7d045fd
commit
d4ad0a479d
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user