From 784e7433ac4ce5fc59402f11cc1488695a1e23b2 Mon Sep 17 00:00:00 2001 From: David Marx Date: Wed, 5 Oct 2022 17:34:28 -0700 Subject: [PATCH] populate xdg cache if not already --- Video_Killed_The_Radio_Star_Defusion.ipynb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Video_Killed_The_Radio_Star_Defusion.ipynb b/Video_Killed_The_Radio_Star_Defusion.ipynb index 3d89c54..5419ed5 100644 --- a/Video_Killed_The_Radio_Star_Defusion.ipynb +++ b/Video_Killed_The_Radio_Star_Defusion.ipynb @@ -135,6 +135,10 @@ "import os\n", "from pathlib import Path\n", "\n", + "os.environ['XDG_CACHE_HOME'] = os.environ.get(\n", + " 'XDG_CACHE_HOME',\n", + " str(Path('~/.cache').expanduser())\n", + ")\n", "if mount_gdrive:\n", " from google.colab import drive\n", " drive.mount('/content/drive')\n",