Fix selfsigned job with cryptography not being found

This commit is contained in:
Théophile Diot 2023-09-22 08:23:25 +01:00
parent da4390b488
commit 2ad8861788
No known key found for this signature in database
GPG key ID: 248FEA4BAE400D06
2 changed files with 4 additions and 3 deletions

View file

@ -1,8 +1,6 @@
#!/usr/bin/python3
from datetime import timedelta
from cryptography import x509
from cryptography.hazmat.backends import default_backend
from os import getenv, sep
from os.path import join
from pathlib import Path
@ -23,6 +21,9 @@ for deps_path in [
if deps_path not in sys_path:
sys_path.append(deps_path)
from cryptography import x509
from cryptography.hazmat.backends import default_backend
from Database import Database # type: ignore
from logger import setup_logger # type: ignore
from jobs import set_file_in_db

View file

@ -1,5 +1,5 @@
#
# This file is autogenerated by pip-compile with Python 3.11
# This file is autogenerated by pip-compile with Python 3.9
# by the following command:
#
# pip-compile --allow-unsafe --generate-hashes