From e6cd7c886e2f583c48f12fe5c4227e3dd51c43c6 Mon Sep 17 00:00:00 2001 From: XtremeRahul <66631560+XtremeRahul@users.noreply.github.com> Date: Fri, 4 Sep 2020 21:17:04 +0530 Subject: [PATCH] Update gDrive_calculator.py --- gDrive_calculator.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/gDrive_calculator.py b/gDrive_calculator.py index 18c32af..c7e827b 100644 --- a/gDrive_calculator.py +++ b/gDrive_calculator.py @@ -30,7 +30,7 @@ def __init__(self, service=None): self.__G_DRIVE_DIR_MIME_TYPE = "application/vnd.google-apps.folder" self.__service = service if service is None: - print("Pass service to GoogleDriveSizeCalculate class.") + print("Pass service to GoogleDriveSizeCalculate class. Please fully read the instructions given in the repo.") return self.main_name = None self.total_bytes = 0 @@ -141,9 +141,8 @@ def gDrive_directory(self, **kwargs) -> None: self.total_files += 1 self.gDrive_file(**file_) - - # +# ~ Notes ~ # BUILD YOUR SERVICE HERE AND PASS TO THE GoogleDriveSizeCalculate CLASS # credentials = None @@ -182,7 +181,7 @@ def gDrive_directory(self, **kwargs) -> None: calculator = GoogleDriveSizeCalculate() #(service) ##Complete building service and then pass it calculate = calculator.gdrive_checker(LINKorID) -## Note that, gdrive folder size calculating speed depends on how many file inside a folder. +## Note that, gdrive folder size calculating speed depends on how many files inside a folder. if not calculate is None: print('\n')