(self, argument)
| 570 | return titles[self.gd.edit_cell[1]] |
| 571 | |
| 572 | def upd_cell(self, argument): |
| 573 | global resolved_devs |
| 574 | cell = self.get_cell_name() |
| 575 | if cell == 'Device': |
| 576 | mac = self.get_mac_val_from_cell() |
| 577 | thread2 = Thread(target=self.get_dev_name, args=(mac,)) |
| 578 | # thread2 = Thread(target=self.get_all_dev_names()) |
| 579 | thread2.daemon = True |
| 580 | thread2.start() |
| 581 | if cell == 'Phone': |
| 582 | if self.get_phone_val_from_cell() == 'X': |
| 583 | hashinfo = "Phone hash={}, email hash={}, AppleID hash={}, SSID hash={} ({})".format( |
| 584 | hash2phone[self.get_mac_val_from_cell()]['ph_hash'], |
| 585 | hash2phone[self.get_mac_val_from_cell()]['email_hash'], |
| 586 | hash2phone[self.get_mac_val_from_cell()]['appleID_hash'], |
| 587 | hash2phone[self.get_mac_val_from_cell()]['SSID_hash'], |
| 588 | get_dict_val(dictOfss, hash2phone[self.get_mac_val_from_cell()]['SSID_hash'])) |
| 589 | table = print_results2(hash2phone[self.get_mac_val_from_cell()]['phone_info']) |
| 590 | rez = "{}\n\n{}".format(hashinfo, table) |
| 591 | npyscreen.notify_confirm(rez, title="Phone number info", wrap=True, wide=True, editw=0) |
| 592 | |
| 593 | |
| 594 | def clear_zombies(): |
nothing calls this directly
no test coverage detected