Déplacement des fichiers cache et données dans le répertoire parent

Signed-off-by: Emmy D'Anello <ynerant@emy.lu>
This commit is contained in:
2024-06-09 17:51:24 +02:00
parent dec9f414ac
commit b3a7955a9d
4 changed files with 9 additions and 7 deletions

View File

@ -3,7 +3,7 @@ from pathlib import Path
import requests
CACHE_DIR = Path(__file__).parent / 'cache'
CACHE_DIR = Path(__file__).parent.parent / 'cache'
def get_file(url, filename, force_etag: str = ""):