Skip to content

Commit

Permalink
read full api key
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew L. Mullen committed Jan 25, 2024
1 parent 62668da commit 4307290
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion notebooks/download_planet.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"\n",
"#Authenticate Planet\n",
"with open(path_to_api_key) as f:\n",
" pl_api_key = f.read(1)\n",
" pl_api_key = f.readline()\n",
" auth = Auth.from_key(pl_api_key)\n",
" auth.store()"
]
Expand Down

0 comments on commit 4307290

Please sign in to comment.