mirror of
https://github.com/pdxlocations/contact.git
synced 2026-06-13 02:04:53 +02:00
fixBuffer
This commit is contained in:
+1
-1
@@ -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