summaryrefslogtreecommitdiff
path: root/backend/decky_loader/injector.py
diff options
context:
space:
mode:
Diffstat (limited to 'backend/decky_loader/injector.py')
-rw-r--r--backend/decky_loader/injector.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/backend/decky_loader/injector.py b/backend/decky_loader/injector.py
index 7d1a40c1..39b5b15d 100644
--- a/backend/decky_loader/injector.py
+++ b/backend/decky_loader/injector.py
@@ -46,7 +46,7 @@ class Tab:
async for message in self.websocket:
data = message.json()
yield data
- logger.warn(f"The Tab {self.title} socket has been disconnected while listening for messages.")
+ logger.warning(f"The Tab {self.title} socket has been disconnected while listening for messages.")
await self.close_websocket()
async def _send_devtools_cmd(self, dc: Dict[str, Any], receive: bool = True):
@@ -381,10 +381,10 @@ async def get_tabs() -> List[Tab]:
na = True
await sleep(5)
except ClientOSError:
- logger.warn(f"The request to {BASE_ADDRESS}/json was reset")
+ logger.warning(f"The request to {BASE_ADDRESS}/json was reset")
await sleep(1)
except TimeoutError:
- logger.warn(f"The request to {BASE_ADDRESS}/json timed out")
+ logger.warning(f"The request to {BASE_ADDRESS}/json timed out")
await sleep(1)
else:
break