uncloud/config.py
2020-01-20 12:30:12 +05:00

8 lines
205 B
Python

import configparser
from etcd_wrapper import EtcdWrapper
config = configparser.ConfigParser()
config.read('pay.conf')
etcd_client = EtcdWrapper(host=config['etcd']['host'], port=config['etcd']['port'])