Commit 685fb51c authored by Samuel Loury's avatar Samuel Loury

Make sure to strip the data path

parent 5e479fa9
......@@ -73,7 +73,7 @@ Après avoir téléchargé les données, nous commençons par l'extraction des d
from pathlib import Path
import requests
data_path = Path(data_path)
data_path = Path(data_path.strip())
if not data_path.exists():
data = requests.get(data_url).text
data_path.write_text(data)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment