From 3dc4d8485ff1549c2cd95bd804b2536b5190bab1 Mon Sep 17 00:00:00 2001 From: "Flamm, Matthew H" Date: Sat, 3 Aug 2019 03:07:27 +0100 Subject: [PATCH] Revert "Make py3.5 compatible" This reverts commit 4946d91779a6e539ea43e667b2265557a49a0bb5. --- homeassistant/components/nws/weather.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/nws/weather.py b/homeassistant/components/nws/weather.py index da0bf6b714f..8572aeacf13 100644 --- a/homeassistant/components/nws/weather.py +++ b/homeassistant/components/nws/weather.py @@ -122,7 +122,7 @@ async def async_setup_platform(hass, config, async_add_entities, websession = async_get_clientsession(hass) # ID request as being from HA, pynws prepends the api_key in addition - api_key_ha = "{} homeassistant".format(api_key) + api_key_ha = f"{api_key} homeassistant" nws = SimpleNWS(latitude, longitude, api_key_ha, mode, websession) _LOGGER.debug("Setting up station: %s", station)