From 299dc39b78ca6eb272eb3bdc54d45bbea1bb4f32 Mon Sep 17 00:00:00 2001 From: zuckerberg <5-zuckerberg@users.noreply.git.neet.dev> Date: Tue, 25 May 2021 08:34:10 -0400 Subject: [PATCH] path to file --- downloader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/downloader.py b/downloader.py index 529ddae..3120853 100644 --- a/downloader.py +++ b/downloader.py @@ -40,7 +40,7 @@ def download(url): #updateYoutubeDL() # start downloader so that it's stdout (with fragments) may be captured - for s in execute([sys.executable,"downloader.py",dirpath,url]): + for s in execute([sys.executable, os.path.realpath(__file__) + "/downloader.py",dirpath,url]): print(s) def runYoutubeDL(url):