Skip to content
Snippets Groups Projects
Commit 71fb13c4 authored by Meg Millhouse's avatar Meg Millhouse
Browse files

Merge branch 'pipe-type-error-fix' into 'master'

bayeswave_pipe type error

See merge request lscsoft/bayeswave!284
parents 52439752 a84291de
No related branches found
No related tags found
No related merge requests found
......@@ -109,7 +109,7 @@ def localize_xml(xmlfile, old_path, new_path):
filedata = oldxml.read()
# Search and replace on the abs path
newdata = filedata.replace(str(old_path.encode()),str(new_path.encode()))
newdata = filedata.replace(old_path.encode(),new_path.encode())
# Backup the original xml file
shutil.move(xmlfile, xmlfile+'.bk')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment