MCPcopy Create free account
hub / github.com/LCBOWER33/StegoScan / get_selected

Method get_selected

StegoScan.py:1520–1523  ·  view source on GitHub ↗

Returns selected checkboxes, or 'all' if everything is selected

(self)

Source from the content-addressed store, hash-verified

1518 num_downloads_entry.config(state=tk.DISABLED if state2 else tk.NORMAL)
1519
1520 def get_selected(self):
1521 """ Returns selected checkboxes, or 'all' if everything is selected """
1522 selected = [label for var, label in zip(self.vars[1:], self.options) if var.get()]
1523 return "all" if len(selected) + 1 == len(self.options) else selected
1524
1525 labels = {
1526 "Tests": ["lsb", "jpeg", "image_integrity", "audio_integrity", "object_detection", "binary", "elf_check", "png",

Callers 1

start_progressFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected