Skip to content

Commit 5042a3a

Browse files
authored
Merge pull request #21 from FoamyGuy/remove-backward-compatibility
Remove backward compatibility
2 parents b916b70 + 97dadca commit 5042a3a

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

adafruit_bitmap_font/bdf.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,7 @@
4040
"""
4141

4242
import gc
43-
44-
try:
45-
from displayio import Glyph
46-
except ImportError:
47-
from fontio import Glyph
43+
from fontio import Glyph
4844
from .glyph_cache import GlyphCache
4945

5046
__version__ = "0.0.0-auto.0"

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
# Uncomment the below if you use native CircuitPython modules such as
2222
# digitalio, micropython and busio. List the modules you use. Without it, the
2323
# autodoc module docs will fail to generate with a warning.
24-
autodoc_mock_imports = ["displayio"]
24+
autodoc_mock_imports = ["fontio"]
2525

2626

2727
intersphinx_mapping = {

0 commit comments

Comments
 (0)