Skip to content

Commit

Permalink
Update _imutils.py -- Ensuring every variable is declared before try-…
Browse files Browse the repository at this point in the history
…except block
  • Loading branch information
JacobARose authored Nov 22, 2024
1 parent a7b22e4 commit 895c104
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions imutils/_imutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 895c104

Please sign in to comment.