i_py_PathSep.patch

Andy Harfoot, 2018-02-23 12:11 PM

Download (595 Bytes)

View differences:

"b/C:\\Local\\QGIS_i_maxlik_Bug\\New\\i.py"
231 231
    createDestDir(alg, toFile)
232 232
    command = "{} {} {}".format(
233 233
        "COPY /Y" if isWindows() else "cp -f",
234
        fromFile,
235
        toFile)
234
        fromFile.replace("/","\\") if isWindows() else fromFile,
235
        toFile.replace("/","\\") if isWindows() else toFile)
236 236
    alg.commands.append(command)