Skip to content

Commit b0d88f6

Browse files
authored
Add files via upload
1 parent f84c8fa commit b0d88f6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pyarchivefile.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6906,6 +6906,7 @@ def AppendFilesWithContentToOutFile(infiles, outfile, dirlistfromtxt=False, fmtt
69066906
fmttype = __file_format_default__
69076907
formatspecs = formatspecs[fmttype]
69086908
if(outfile != "-" and outfile is not None and not hasattr(outfile, "read") and not hasattr(outfile, "write")):
6909+
outfile = RemoveWindowsPath(outfile)
69096910
if(os.path.exists(outfile)):
69106911
try:
69116912
os.unlink(outfile)

0 commit comments

Comments
 (0)