From 13a255f944345dd0ea2468573f8e34ccf4fb3b74 Mon Sep 17 00:00:00 2001 From: pranavdg1997 Date: Tue, 6 Apr 2021 14:49:56 -0400 Subject: [PATCH 1/3] Update colab_pdf.py --- colab_pdf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/colab_pdf.py b/colab_pdf.py index b40675c..90b1fc5 100644 --- a/colab_pdf.py +++ b/colab_pdf.py @@ -8,8 +8,8 @@ def colab_pdf(file_name, notebookpath="/content/drive/My Drive/Colab Notebooks/" ) # Using the defaults used by google.colab - drive_mount_point = "/content/drive/" - gdrive_home = os.path.join(drive_mount_point, "My Drive/") + drive_mount_point = "/drive/" + gdrive_home = os.path.join(drive_mount_point, "MyDrive/") # If the drive is not already mounted, attempt to mount it. if not os.path.isdir(gdrive_home): From 5a3c92652878b74c0dd9bbc3a87e9781a945af00 Mon Sep 17 00:00:00 2001 From: pranavdg1997 Date: Tue, 6 Apr 2021 14:53:37 -0400 Subject: [PATCH 2/3] Update colab_pdf.py minor changes --- colab_pdf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/colab_pdf.py b/colab_pdf.py index 90b1fc5..33f186b 100644 --- a/colab_pdf.py +++ b/colab_pdf.py @@ -1,4 +1,4 @@ -def colab_pdf(file_name, notebookpath="/content/drive/My Drive/Colab Notebooks/"): +def colab_pdf(file_name, notebookpath="drive/MyDrive/Colab Notebooks/"): import os # Checking if file_name passed is a sring. From 3aa7aadfb2cca056c893e2da7b1379a69f6c6bff Mon Sep 17 00:00:00 2001 From: pranavdg1997 Date: Tue, 6 Apr 2021 14:53:45 -0400 Subject: [PATCH 3/3] Create colab_pdf.py minor changes