def config(self):
if not self._config:
# get_logger().debug("Loading configuration file")
dir = os.path.dirname(os.path.realpath(__file__))
with open(os.path.join(dir, 'config.json')) as file:
self._config = json.load(file)
return self._config
评论列表
文章目录