mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +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 (
|
from homeassistant.const import (
|
||||||
STATE_IDLE, STATE_PLAYING, STATE_PAUSED)
|
STATE_IDLE, STATE_PLAYING, STATE_PAUSED)
|
||||||
|
|
||||||
try:
|
import requests
|
||||||
import requests
|
|
||||||
except ImportError:
|
|
||||||
requests = None
|
|
||||||
|
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user