diff --git a/osrframework/searchengines/__init__.py b/osrframework/searchengines/__init__.py index db867f48..4ed9e1ff 100644 --- a/osrframework/searchengines/__init__.py +++ b/osrframework/searchengines/__init__.py @@ -17,7 +17,3 @@ # ################################################################################## -import osrframework.utils.logger as logger - -# Calling the logger when being imported -logger.setupLogger(loggerName="osrframework.searchengines") diff --git a/osrframework/thirdparties/pipl_com/lib/__init__.py b/osrframework/thirdparties/pipl_com/lib/__init__.py index cb0d6bb3..f8764f13 100644 --- a/osrframework/thirdparties/pipl_com/lib/__init__.py +++ b/osrframework/thirdparties/pipl_com/lib/__init__.py @@ -20,11 +20,6 @@ ################################################################################## -import osrframework.utils.logger - -# Calling the logger when being imported -osrframework.utils.logger.setupLogger(loggerName="osrframework.thirdparties.pipl_com.lib") - __version__ = '1.0' """Python implementation of Pipl's data model. diff --git a/osrframework/utils/exceptions.py b/osrframework/utils/exceptions.py index 16ecd8e5..3ef56ab6 100644 --- a/osrframework/utils/exceptions.py +++ b/osrframework/utils/exceptions.py @@ -47,7 +47,7 @@ def __init__(self, platform, *args, **kwargs): """.format( self.__class__.__name__, platform, - os.path.join(configuration.getConfigPath()["appPath"], "accounts.cfg"), + os.path.join(configuration.get_config_path()["appPath"], "accounts.cfg"), general.emphasis("-x " + platform) ) OSRFrameworkException.__init__(self, general.warning(msg))