fix: formating

This commit is contained in:
sankalp committed 2026-07-18 14:21:24 +05:45
1 parent 71c9d30c2c
commit 732dd9c0ee
3 files changed
+9 -3

No files matched your search

+3 -1
View File
@@ -231,7 +231,9 @@ class WiFiPasswordDialog(Window):
self.join_button.set_sensitive(True)
self.show_error("Connection timeout. Please try again.")
except Exception as e:
logger.warning(f"[wifi_password_dialog] _connection_timeout UI update failed: {e}")
logger.warning(
f"[wifi_password_dialog] _connection_timeout UI update failed: {e}"
)
return False
def show_dialog(self):
+3 -1
View File
@@ -826,7 +826,9 @@ class ModusControlCenter(AppletWindow):
with open(_CAFFEINE_PID_FILE, "w") as f:
f.write(str(proc.pid))
except OSError as e:
logger.warning(f"[controlcenter] Failed to write caffeine PID file: {e}")
logger.warning(
f"[controlcenter] Failed to write caffeine PID file: {e}"
)
self.caffeine_mode = True
self.caffeine_icon.dynamic_file(
"applets/caffeine-on.svg"
+3 -1
View File
@@ -74,7 +74,9 @@ class BaseOSDContainer(Box):
try:
GLib.source_remove(self._hide_timer_id)
except Exception as e:
logger.debug(f"[osd_base] Failed to remove hide timer {self._hide_timer_id}: {e}")
logger.debug(
f"[osd_base] Failed to remove hide timer {self._hide_timer_id}: {e}"
)
self._hide_timer_id = None
def hide_window(self):