mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
truncate long desc
This commit is contained in:
@@ -115,8 +115,9 @@ class RemoteGDrive(RemoteBASE):
|
||||
self, file_id, to_file, progress_name, no_progress_bar
|
||||
):
|
||||
gdrive_file = self.drive.CreateFile({"id": file_id})
|
||||
bar_format = "Donwloading {desc}... " + Tqdm.format_sizeof(
|
||||
int(gdrive_file["fileSize"]), "B", 1024
|
||||
bar_format = (
|
||||
"Donwloading {desc:{ncols_desc}.{ncols_desc}}... "
|
||||
+ Tqdm.format_sizeof(int(gdrive_file["fileSize"]), "B", 1024)
|
||||
)
|
||||
with Tqdm(
|
||||
bar_format=bar_format, desc=progress_name, disable=no_progress_bar
|
||||
|
||||
Reference in New Issue
Block a user