fix(secscan): don't use slash_join, it discards the root

This commit is contained in:
Evan Cordell 2017-07-11 14:12:57 -04:00
parent b9581e0baf
commit ac54dd6f5d

View file

@ -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'}