diff options
Diffstat (limited to 'image.py')
-rw-r--r-- | image.py | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -303,7 +303,9 @@ class CdromInstallMethod(ImageInstallMethod): def __init__(self, url, messageWindow, progressWindow, rootPath): - (self.device, tree) = string.split(url, "/", 1) + (self.device, tree) = string.split(url, ":", 1) + if not tree.startswith("/"): + tree = "/%s" %(tree,) self.messageWindow = messageWindow self.progressWindow = progressWindow self.loopbackFile = None @@ -324,7 +326,7 @@ class CdromInstallMethod(ImageInstallMethod): else: self.currentDisc = [ 1 ] - ImageInstallMethod.__init__(self, "/" + tree, rootPath) + ImageInstallMethod.__init__(self, tree, rootPath) class NfsInstallMethod(ImageInstallMethod): |