rcluncomp: always use forward path separator
This commit is contained in:
parent
2855c99bbb
commit
30d247d57f
@ -42,7 +42,8 @@ outdir = sys.argv[3]
|
|||||||
try:
|
try:
|
||||||
cmd = [sevenz, "e", "-bd", "-y", "-o" + outdir, infile]
|
cmd = [sevenz, "e", "-bd", "-y", "-o" + outdir, infile]
|
||||||
subprocess.check_output(cmd, stderr = subprocess.PIPE)
|
subprocess.check_output(cmd, stderr = subprocess.PIPE)
|
||||||
outputname = glob.glob(os.path.join(outdir, "*"))
|
# Don't use os.path.join, we always want to use '/'
|
||||||
|
outputname = glob.glob(outdir + "/*")
|
||||||
# There should be only one file in there..
|
# There should be only one file in there..
|
||||||
print(outputname[0])
|
print(outputname[0])
|
||||||
except Exception as err:
|
except Exception as err:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user