MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / start_display

Method start_display

Ragnar.py:263–272  ·  view source on GitHub ↗

Start the display thread

()

Source from the content-addressed store, hash-verified

261 self.shared_data.webapp_should_exit = True
262
263 logger.info("Ragnar stopped successfully")
264
265 def is_wifi_connected(self):
266 """Legacy method - use wifi_manager for new code."""
267 if hasattr(self, 'wifi_manager'):
268 return self.wifi_manager.check_wifi_connection()
269 else:
270 # Fallback to original method
271 result = subprocess.Popen(['nmcli', '-t', '-f', 'active', 'dev', 'wifi'], stdout=subprocess.PIPE, text=True).communicate()[0]
272 return 'yes' in result
273
274
275 @staticmethod

Callers 1

Ragnar.pyFile · 0.80

Calls 2

DisplayClass · 0.90
startMethod · 0.45

Tested by

no test coverage detected