ini preset

This commit is contained in:
lvmin 2023-10-13 06:43:12 -07:00
parent 7d4b635460
commit e4113d3231
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ except Exception as e:
preset = args_manager.args.preset
if preset is not None:
if isinstance(preset, str):
preset = os.path.abspath(f'./presets/{preset}.json')
try:
if os.path.exists(preset):