mirror of
https://github.com/pdxlocations/contact.git
synced 2026-03-28 17:12:35 +01:00
fixBuffer
This commit is contained in:
@@ -143,7 +143,7 @@ def on_receive(packet, interface):
|
||||
# update packet log
|
||||
if displayLog:
|
||||
packetBuffer.append(packet)
|
||||
if len(packetBuffer) > 10:
|
||||
if len(packetBuffer) > 20:
|
||||
# trim buffer to 20 packets
|
||||
packetBuffer = packetBuffer[-20:]
|
||||
update_packetlog_win()
|
||||
|
||||
Reference in New Issue
Block a user