Mbonea commited on
Commit
918e3f1
1 Parent(s): 76e3fd3
Files changed (1) hide show
  1. App/Worker.py +1 -1
App/Worker.py CHANGED
@@ -110,7 +110,7 @@ def create_symlink(source_dir, target_dir, symlink_name):
110
 
111
  def download_with_wget(link, download_dir, filename):
112
  print(["aria2c", link, "-d", download_dir, "-o", filename])
113
- subprocess.run([f"aria2c {link} -d {download_dir} -o {filename}"])
114
 
115
 
116
  # @celery.task(name="CopyRemotion")
 
110
 
111
  def download_with_wget(link, download_dir, filename):
112
  print(["aria2c", link, "-d", download_dir, "-o", filename])
113
+ os.system(f"aria2c {link} -d {download_dir} -o {filename}")
114
 
115
 
116
  # @celery.task(name="CopyRemotion")