Skip to content
This repository has been archived by the owner on Jan 5, 2023. It is now read-only.

Commit

Permalink
Directory Bug Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
360modder committed Sep 24, 2021
1 parent 14e005a commit 92565cf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion vsdownload/commands/save.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,9 @@ def download_in_mutiple_thread(self, segments, parsed_links):
if os.path.exists(self.args.tempdir) and self.args.cleanup:
shutil.rmtree(self.args.tempdir)
os.mkdir(self.args.tempdir)

elif not os.path.exists(self.args.tempdir):
os.mkdir(self.args.tempdir)

total_ts_files = len(segments)
processed_ts_index = 1

Expand Down

0 comments on commit 92565cf

Please sign in to comment.