mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 04:37:06 +00:00
drop the try
This commit is contained in:
parent
f41786d893
commit
395dbe8804
@ -34,10 +34,7 @@ from homeassistant.components.media_player import (
|
||||
from homeassistant.const import (
|
||||
STATE_IDLE, STATE_PLAYING, STATE_PAUSED)
|
||||
|
||||
try:
|
||||
import requests
|
||||
except ImportError:
|
||||
requests = None
|
||||
import requests
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user