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

Method set_latest_scan_results

shared.py:1838–1849  ·  view source on GitHub ↗

Store fresh scan results scoped to the currently active network.

(self, scan_data)

Source from the content-addressed store, hash-verified

1836 self.y_bottom1 = self.height - self.ragnar1.height
1837 else:
1838 logger.warning("ragnar1.bmp image not found, using default positioning")
1839 self.x_center1 = self.width // 2 # Center horizontally
1840 self.y_bottom1 = self.height - 20 # Default bottom position
1841
1842 except Exception as e:
1843 logger.error(f"Error loading images: {e}")
1844 raise
1845
1846 def update_ragnarstatus(self):
1847 """ Using getattr to obtain the reference of the attribute with the name stored in self.ragnarorch_status"""
1848 try:
1849 self.ragnarstatusimage = getattr(self, self.ragnarorch_status)
1850 if self.ragnarstatusimage is None:
1851 raise AttributeError
1852 except AttributeError:

Callers 1

scanMethod · 0.80

Calls 2

_slug_for_ssidMethod · 0.95
infoMethod · 0.80

Tested by

no test coverage detected