From 895c1045443b4526b2909f13b28b58db3a38c1b4 Mon Sep 17 00:00:00 2001 From: Jacob A Rose <31635761+JacobARose@users.noreply.github.com> Date: Fri, 22 Nov 2024 00:58:48 -0500 Subject: [PATCH] Update _imutils.py -- Ensuring every variable is declared before try-except block --- imutils/_imutils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/imutils/_imutils.py b/imutils/_imutils.py index 0c31d41..67bcfdf 100644 --- a/imutils/_imutils.py +++ b/imutils/_imutils.py @@ -17,6 +17,8 @@ def imutils() -> str: from pathlib import Path import warnings +ASSETS_DIR = Path() +SAMPLE_IMAGE_PATHS = [] try: ASSETS_DIR = Path(__file__).parent.parent / "assets"