Fix: define path as None before usage

This commit is contained in:
Ivan Efimov 2022-12-13 12:03:37 -06:00 committed by Lincoln Stein
parent af3d72e001
commit ccf8a46320

View File

@ -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