Skip to content

Commit

Permalink
Merge pull request #1 from FoamyGuy/fix_typing_import
Browse files Browse the repository at this point in the history
wrap typing imports in try/except
  • Loading branch information
FoamyGuy authored Dec 18, 2024
2 parents 2d9c651 + 881ee34 commit 057f5fd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion adafruit_wiz.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@
"""

import json
from typing import Tuple, Union

try:
from typing import Tuple, Union
except ImportError:
pass

import adafruit_connection_manager

Expand Down

0 comments on commit 057f5fd

Please sign in to comment.