mirror of
https://github.com/home-assistant/core.git
synced 2025-08-12 17:15:19 +02:00
drop the try
This commit is contained in:
@@ -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__)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user