ml_test / lycoris /utils /preset.py
tonyshark's picture
Upload 132 files
cc69848 verified
raw
history blame contribute delete
181 Bytes
import toml
def read_preset(preset):
try:
return toml.load(preset)
except Exception as e:
print("Error: cannot read preset file. ", e)
return None