Pastebin
Paste #8893: config.py
< previous paste - next paste>
Pasted by Anonymous Coward
import sys import yaml try: with open(config_file_path, 'r') as configfile: cfg = yaml.load(configfile, Loader=Loader) except IOError: print("FATAL: Failed to open config file") sys.exit(1) pass
New Paste
Go to most recent paste.