modified: hide migration button temporarily

This commit is contained in:
Dr.Lt.Data 2024-12-21 18:24:18 +09:00
parent e058140bac
commit b9227b1570

View File

@ -1425,10 +1425,11 @@ async def default_cache_update():
await asyncio.gather(a, b, c, d, e) await asyncio.gather(a, b, c, d, e)
if not core.get_config()['skip_migration_check']: # NOTE: hide migration button temporarily.
await core.check_need_to_migrate() # if not core.get_config()['skip_migration_check']:
else: # await core.check_need_to_migrate()
logging.info("[ComfyUI-Manager] Migration check is skipped...") # else:
# logging.info("[ComfyUI-Manager] Migration check is skipped...")
threading.Thread(target=lambda: asyncio.run(default_cache_update())).start() threading.Thread(target=lambda: asyncio.run(default_cache_update())).start()