@@ -217,7 +217,7 @@ def main():
217
217
barManager .stop ()
218
218
219
219
for filePath in sourceFileToDelete :
220
- delete_source_file (filePath )
220
+ delete_source_file (filePath , outFolder )
221
221
222
222
if args .D :
223
223
for f_str in args .file :
@@ -228,12 +228,12 @@ def main():
228
228
outFolder = argOutFolder if argOutFolder else filePath .parent .absolute ()
229
229
if filePath .suffix == '.nsz' :
230
230
if not outFolder in targetDictNsz :
231
- targetDictNsz [outFolder ] = CreateTargetDict (outFolder , args , ".xcz " )
231
+ targetDictNsz [outFolder ] = CreateTargetDict (outFolder , args , ".nsp " )
232
232
if not AllowedToWriteOutfile (filePath , ".nsp" , targetDictNsz [outFolder ], args ):
233
233
continue
234
234
elif filePath .suffix == '.xcz' :
235
235
if not outFolder in targetDictXcz :
236
- targetDictXcz [outFolder ] = CreateTargetDict (outFolder , args , ".xcz " )
236
+ targetDictXcz [outFolder ] = CreateTargetDict (outFolder , args , ".xci " )
237
237
if not AllowedToWriteOutfile (filePath , ".xci" , targetDictXcz [outFolder ], args ):
238
238
continue
239
239
elif filePath .suffix == '.ncz' :
@@ -244,7 +244,7 @@ def main():
244
244
continue
245
245
decompress (filePath , outFolder )
246
246
if args .rm_source :
247
- delete_source_file (filePath )
247
+ delete_source_file (filePath , outFolder )
248
248
except KeyboardInterrupt :
249
249
raise
250
250
except BaseException as e :
0 commit comments