Remove unnecessary string literal concatenations (#30360)

This commit is contained in:
Ville Skyttä authored and GitHub committed 2020-01-02 21:17:10 +02:00
1 parent cac750066a
commit e6388e186c
183 files changed
+362 -393

No files matched your search

@@ -66,9 +66,7 @@ class OhmconnectSensor(Entity):
def update(self):
"""Get the latest data from OhmConnect."""
try:
url = ("https://login.ohmconnect.com" "/verify-ohm-hour/{}").format(
self._ohmid
)
url = "https://login.ohmconnect.com/verify-ohm-hour/{}".format(self._ohmid)
response = requests.get(url, timeout=10)
root = ET.fromstring(response.text)