Skip to content

Commit c326b08

Browse files
authored
Fix some strings mangled by black formatting (#470)
1 parent 1f5fe1f commit c326b08

File tree

4 files changed

+5
-7
lines changed

4 files changed

+5
-7
lines changed

pychromecast/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def get_app_config(app_id):
3737
""" Get specific configuration for 'app_id'. """
3838
try:
3939
req = requests.get(
40-
("https://clients3.google.com/" "cast/chromecast/device/app?a={}").format(
40+
("https://clients3.google.com/cast/chromecast/device/app?a={}").format(
4141
app_id
4242
)
4343
)

pychromecast/controllers/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def send_message(self, data, inc_session_id=False, callback_function=None):
8383
return
8484

8585
raise UnsupportedNamespace(
86-
("Namespace {} is not supported by running" "application.").format(
86+
("Namespace {} is not supported by running application.").format(
8787
self.namespace
8888
)
8989
)

pychromecast/controllers/media.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -489,9 +489,7 @@ def _fire_status_changed(self):
489489
try:
490490
listener.new_media_status(self.status)
491491
except Exception: # pylint: disable=broad-except
492-
_LOGGER.exception(
493-
"Exception thrown when calling media status " "callback"
494-
)
492+
_LOGGER.exception("Exception thrown when calling media status callback")
495493

496494
# pylint: disable=too-many-arguments
497495
def play_media(

pychromecast/socket_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -919,7 +919,7 @@ def send_app_message(
919919
if namespace not in self.app_namespaces:
920920
raise UnsupportedNamespace(
921921
(
922-
"Namespace {} is not supported by current app. " "Supported are {}"
922+
"Namespace {} is not supported by current app. Supported are {}"
923923
).format(namespace, ", ".join(self.app_namespaces))
924924
)
925925

@@ -1067,7 +1067,7 @@ def ping(self):
10671067
self.send_message({MESSAGE_TYPE: TYPE_PING})
10681068
except NotConnected:
10691069
self._socket_client.logger.error(
1070-
"Chromecast is disconnected. " "Cannot ping until reconnected."
1070+
"Chromecast is disconnected. Cannot ping until reconnected."
10711071
)
10721072

10731073
def reset(self):

0 commit comments

Comments
 (0)