From 0f50272cdfa60fa3431ba8e4b88ead130b6ff860 Mon Sep 17 00:00:00 2001 From: Arona Jones Date: Sun, 7 Feb 2021 21:40:53 +0000 Subject: [PATCH] Updated gitignore --- lecturemunger.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lecturemunger.py b/lecturemunger.py index aca7417..7d9ecc5 100644 --- a/lecturemunger.py +++ b/lecturemunger.py @@ -131,12 +131,10 @@ def do(): title += "_" + date.strftime('%Y-%m-%d') # Rename file source = entry.path - actual_folder_path = '{}/{}'.format(target, folder_path) filename = "{}.{}".format(title, extension) - dest = "{}/{}".format(actual_folder_path, filename) + dest = downloaded.path.joinpath(filename) print ("Source: " + source) print ("Dest: " + dest) - mkdir_if_not_exists(actual_folder_path) os.rename(source, dest) # Extract audio, process it, add it back to the video