mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Fix: define path as None before usage
This commit is contained in:
parent
af3d72e001
commit
ccf8a46320
@ -306,6 +306,7 @@ class Generator():
|
||||
return blurry
|
||||
|
||||
def get_caution_img(self):
|
||||
path = None
|
||||
if self.caution_img:
|
||||
return self.caution_img
|
||||
# Find the caution image. If we are installed in the package directory it will
|
||||
|
Loading…
Reference in New Issue
Block a user