diff --git a/util/secscan/api.py b/util/secscan/api.py index 5efdafb92..fb8c5c0d4 100644 --- a/util/secscan/api.py +++ b/util/secscan/api.py @@ -1,3 +1,4 @@ +import os import logging from abc import ABCMeta, abstractmethod @@ -23,7 +24,7 @@ TOKEN_VALIDITY_LIFETIME_S = 60 # Amount of time the security scanner has to cal UNKNOWN_PARENT_LAYER_ERROR_MSG = 'worker: parent layer is unknown, it must be processed first' -MITM_CERT_PATH = slash_join(CONF_DIR, 'mitm.cert') +MITM_CERT_PATH = os.path.join(CONF_DIR, 'mitm.cert') DEFAULT_HTTP_HEADERS = {'Connection': 'close'}