simplify_network: Set up logger correctly

This commit is contained in:
Jonas Hörsch 2018-10-27 03:45:28 +02:00
parent 9c64034950
commit cc7d356db0

View File

@ -231,8 +231,7 @@ if __name__ == "__main__":
)
)
logger = logging.getLogger()
logger.setLevel(snakemake.config['logging_level'])
logging.basicConfig(level=snakemake.config['logging_level'])
n = pypsa.Network(snakemake.input.network)