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