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