Skip to content

remove old style imports #76

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Apr 27, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 1 addition & 10 deletions adafruit_pyportal.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,16 +70,7 @@
from adafruit_cursorcontrol.cursorcontrol import Cursor
from adafruit_cursorcontrol.cursorcontrol_cursormanager import CursorManager

try:
from adafruit_display_text.text_area import ( # pylint: disable=unused-import
TextArea,
)

print(
"*** WARNING ***\nPlease update your library bundle to the latest 'adafruit_display_text' version as we've deprecated 'text_area' in favor of 'label'" # pylint: disable=line-too-long
)
except ImportError:
from adafruit_display_text.Label import Label
from adafruit_display_text.Label import Label

try:
from secrets import secrets
Expand Down