diff options
-rw-r--r-- | lib/bb/fetch/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/fetch/__init__.py b/lib/bb/fetch/__init__.py index 40d966176..31b965379 100644 --- a/lib/bb/fetch/__init__.py +++ b/lib/bb/fetch/__init__.py @@ -69,7 +69,7 @@ def decodeurl(url): parm = m.group('parm') locidx = location.find('/') - if locidx != -1: + if locidx != -1 and type.lower() != 'file': host = location[:locidx] path = location[locidx:] else: |