Skip to content
Snippets Groups Projects

bayeswave_pipe type error

Merged Megan Arogeti requested to merge megan.arogeti/bayeswave:pipe-type-error-fix into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -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')
Loading