From 68eff31324663294bdfd6855e16e438cfd698ea4 Mon Sep 17 00:00:00 2001 From: Kentaro Wada Date: Sun, 26 Jun 2022 11:47:03 +0900 Subject: [PATCH] Fix unicode error in gdown.download_folder --- gdown/download_folder.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gdown/download_folder.py b/gdown/download_folder.py index c6a1ec39..18343dfe 100644 --- a/gdown/download_folder.py +++ b/gdown/download_folder.py @@ -1,3 +1,5 @@ +# -*- encoding: utf-8 -*- + from __future__ import print_function from itertools import islice @@ -351,7 +353,7 @@ def download_folder( filename = download( files_url + file_id, - output=str(file_path), + output=file_path, quiet=quiet, proxy=proxy, speed=speed,