Spaces:
GIZ
/
Running on CPU Upgrade

File size: 248 Bytes
fc140bc
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
import configparser
import logging

def getconfig(configFilePath):

    config = configparser.ConfigParser()

    try:
        config.read_file(open(configFilePath))
        return config
    except:
        logging.warning("config file not found")