fix: formating
This commit is contained in:
3 files changed
+9
-3
No files matched your search
@@ -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):
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user