Skip to content

Commit

Permalink
fix ui if query results are ready early
Browse files Browse the repository at this point in the history
regression from adding local port/addr and removing connection count
  • Loading branch information
elesiuta committed Aug 17, 2023
1 parent dde20ab commit 850cc27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions picosnitch.py
Original file line number Diff line number Diff line change
Expand Up @@ -1493,8 +1493,8 @@ def get_geoip(ip: str) -> str:
# check if any query results are ready
if not q_query_results.empty():
current_screen += q_query_results.get_nowait()
sum_send = sum(b for _, _, b, _ in current_screen)
sum_recv = sum(b for _, _, _, b in current_screen)
sum_send = sum(b for _, b, _ in current_screen)
sum_recv = sum(b for _, _, b in current_screen)
execute_query = False
running_query = True
# update headers for screen
Expand Down

0 comments on commit 850cc27

Please sign in to comment.