Merge branch 'main' into refactor/rename-get-logger

This commit is contained in:
Lincoln Stein
2023-08-20 16:08:32 -04:00
committed by GitHub
106 changed files with 473 additions and 458 deletions

View File

@ -1,6 +1,5 @@
# Copyright (c) 2022 Kyle Schouviller (https://github.com/kyle0654)
from typing import Optional
from logging import Logger
from invokeai.app.services.board_image_record_storage import (
SqliteBoardImageRecordStorage,
@ -45,7 +44,7 @@ def check_internet() -> bool:
try:
urllib.request.urlopen(host, timeout=1)
return True
except:
except Exception:
return False