summaryrefslogtreecommitdiff
path: root/backend/decky_loader/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'backend/decky_loader/main.py')
-rw-r--r--backend/decky_loader/main.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/decky_loader/main.py b/backend/decky_loader/main.py
index 983d3dca..b86411e1 100644
--- a/backend/decky_loader/main.py
+++ b/backend/decky_loader/main.py
@@ -106,7 +106,7 @@ class PluginManager:
new_time = time()
if (new_time - self.last_webhelper_exit < 60):
self.webhelper_crash_count += 1
- logger.warn(f"webhelper crashed within a minute from last crash! crash count: {self.webhelper_crash_count}")
+ logger.warning(f"webhelper crashed within a minute from last crash! crash count: {self.webhelper_crash_count}")
else:
self.webhelper_crash_count = 0
self.last_webhelper_exit = new_time
@@ -147,7 +147,7 @@ class PluginManager:
pass
logger.debug(f"Task {task} finished")
except:
- logger.warn(f"Failed to cancel task {task}:\n" + format_exc())
+ logger.warning(f"Failed to cancel task {task}:\n" + format_exc())
pass
if current:
tasks.remove(current)