fixed a small bug with the ip table not resetting at the start of the scan

This commit is contained in:
UpstreamData
2022-01-05 11:22:02 -07:00
parent 4528060fd0
commit e0d8078bf1

View File

@@ -38,6 +38,7 @@ async def set_progress_bar_len(amount):
async def scan_network(network): async def scan_network(network):
await update_ui_with_data("status", "Scanning") await update_ui_with_data("status", "Scanning")
await update_ui_with_data("hr_total", "") await update_ui_with_data("hr_total", "")
window["ip_table"].update([])
network_size = len(network) network_size = len(network)
miner_generator = network.scan_network_generator() miner_generator = network.scan_network_generator()
await set_progress_bar_len(2 * network_size) await set_progress_bar_len(2 * network_size)