diff --git a/multiqc_ngi/multiqc_ngi.py b/multiqc_ngi/multiqc_ngi.py index 393d536..5de1e8b 100644 --- a/multiqc_ngi/multiqc_ngi.py +++ b/multiqc_ngi/multiqc_ngi.py @@ -526,13 +526,13 @@ def connect_statusdb(self): try: conf_file = os.path.join(os.environ.get('HOME'), '.ngi_config', 'statusdb.yaml') with open(conf_file, "r") as f: - sdb_config = yaml.load(f) + sdb_config = yaml.safe_load(f) log.debug("Got MultiQC_NGI statusdb config from the home directory.") except IOError: log.debug("Could not open the MultiQC_NGI statusdb config file {}".format(conf_file)) try: with open(os.environ['STATUS_DB_CONFIG'], "r") as f: - sdb_config = yaml.load(f) + sdb_config = yaml.safe_load(f) log.debug("Got MultiQC_NGI statusdb config from $STATUS_DB_CONFIG: {}".format(os.environ['STATUS_DB_CONFIG'])) except (KeyError, IOError): log.debug("Could not get the MultiQC_NGI statusdb config file from env STATUS_DB_CONFIG") diff --git a/setup.py b/setup.py index cc1a452..26461c8 100755 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ from setuptools import setup, find_packages -version = '0.6' +version = '0.6.3' setup( name = 'multiqc_ngi',