diff --git a/src/config.py b/src/config.py index b6a0f0c..189bdf2 100644 --- a/src/config.py +++ b/src/config.py @@ -16,8 +16,8 @@ class Config: # Desc of the index page desc = "Sand permet le partage de fichiers. Attention, je n'accepte que \ - les petits fichiers de quelques ko car je chiffre ton \ - fichier via RSA 🙂.

Les fichiers sont herbergés 24 heures." + les petits fichiers de quelques ko car je chiffre via \ + RSA 🙂.

Ne supportes que les fichiers ASCII." # Directory name where the uploads are stored uploads_dir = "uploads" @@ -35,8 +35,3 @@ def init() -> None: # Create upload folder if doesn't exists if not exist(Config.uploads_dir): mkdir(Config.uploads_dir) - -# TODO: Clear every t mins the uploads directory and database -# TODO: On init, check if files in db are corresponding to the files stored -# in the uploads_dir (for example if some files are on the disk and not -# in the database) diff --git a/src/utils/font.py b/src/utils/font.py index f1b73f6..def297e 100644 --- a/src/utils/font.py +++ b/src/utils/font.py @@ -16,8 +16,6 @@ def init(version: str) -> None: if not exist(path): mkdir(path) - # TODO: Store the version used and redownload on version changes - # Download the font file if needed if not exist(f"{path}/{filename}"): # Download the font file diff --git a/src/utils/libjs.py b/src/utils/libjs.py index 21ee552..cac662f 100644 --- a/src/utils/libjs.py +++ b/src/utils/libjs.py @@ -16,8 +16,6 @@ def init(commit_hash: str) -> None: if not exist(path): mkdir(path) - # TODO: Store the hash used and redownload on version changes - # Download the js file if needed if not exist(f"{path}/{filename}"): # Download the font file