Merge "Fix in artifact utils"
This commit is contained in:
commit
8e33493ec1
@ -37,7 +37,10 @@ class Target(object):
|
||||
|
||||
class LocalFile(Target):
|
||||
def __init__(self, filename):
|
||||
self.filename = str(filename)
|
||||
if filename.startswith('file://'):
|
||||
self.filename = filename[7:]
|
||||
else:
|
||||
self.filename = filename
|
||||
self.fileobj = None
|
||||
|
||||
def next(self):
|
||||
|
Loading…
Reference in New Issue
Block a user