remove vestiges of non-functional autoimport code for legacy checkpoints

- Closes #3075
This commit is contained in:
Lincoln Stein
2023-03-31 04:27:03 -04:00
parent c4e6511a59
commit 1f89cf3343
4 changed files with 3 additions and 35 deletions

View File

@ -158,14 +158,9 @@ def main():
report_model_error(opt, e)
# try to autoconvert new models
if path := opt.autoimport:
gen.model_manager.heuristic_import(
str(path), convert=False, commit_to_conf=opt.conf
)
if path := opt.autoconvert:
gen.model_manager.heuristic_import(
str(path), convert=True, commit_to_conf=opt.conf
str(path), commit_to_conf=opt.conf
)
# web server loops forever