(text)
| 768 | defaultconfig.readfp(StringIO.StringIO(CONFIGFILE_DEFAULT_CONTENTS)) |
| 769 | |
| 770 | def try_eval(text): # this is a one-use function for config parsing |
| 771 | try: return eval(text) |
| 772 | except: return text |
| 773 | |
| 774 | cfg = dotdict() |
| 775 | if CLINICAL_MODE and CONFIGFILE == 'config.ini': configs = (defaultconfig,) |