Skip to content

Commit

Permalink
populate xdg cache if not already
Browse files Browse the repository at this point in the history
  • Loading branch information
dmarx committed Oct 6, 2022
1 parent 5101d54 commit 784e743
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Video_Killed_The_Radio_Star_Defusion.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 784e743

Please sign in to comment.