Commit c3a9e36a authored by hammonds's avatar hammonds
Browse files

Merge branch 'data-directory-map-fix' into 'master'

Data Directory Map Fix

See merge request DM/data-management!4
parents 94ea0b9d 0c62f56d
......@@ -82,7 +82,8 @@ class GenParamsTab(QWidget):
continue
original = entry.split(':')[0]
replacement = entry.split(':')[1]
dirPath = dirPath.replace(original,replacement)
if dirPath.startswith(original):
dirPath = dirPath.replace(original,replacement)
return self.assembleUrl(scheme, host, port, dirPath)
@classmethod
......
......@@ -301,7 +301,8 @@ class DmCli(object):
continue
original = entry.split(':')[0]
replacement = entry.split(':')[1]
dirPath = dirPath.replace(original,replacement)
if dirPath.startswith(original):
dirPath = dirPath.replace(original,replacement)
return self.assembleUrl(scheme, host, port, dirPath)
@classmethod
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment