Commit 13c52f86 authored by SPeillet's avatar SPeillet
Browse files

BUG: ending slash causes error when checking if files exist

Showing with 3 additions and 3 deletions
+3 -3
......@@ -55,11 +55,11 @@ def genScript(argv):
else:
mtd = glob.glob(dir + '/*MTD_MSIL1C.xml')
if len(mtd) > 0:
cmd = ['python', 'prepareS2PEPS.py', '-o', '\"' + od + '\"']
cmd = ['python', 'prepareS2PEPS.py', '-o', od]
if clip_shp is not None:
cmd += ['-c', '\"' + clip_shp + '\"']
cmd += ['-c', clip_shp]
cmd += ['--srs', srs]
cmd += ['\"' + dir + '\"']
cmd += [dir]
f.write(' '.join(cmd) + '\n')
f.close()
......
Supports Markdown
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