Skip to content

Commit e9d32e9

Browse files
WillowSauceRWillowSauceR
authored andcommitted
Fix logical error
1 parent 99fccc2 commit e9d32e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scan.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def recv_packets(udp_skt, pbar):
8787
infos, addr = parse_raw_pkt(udp_skt.recvfrom(1024))
8888
if not infos or not infos["motd"]: # 过滤掉没有motd的和没有信息的
8989
continue
90-
if int(infos['online']) >= display_online:
90+
if int(infos['online']) <= display_online:
9191
continue
9292

9393
server_count += 1

0 commit comments

Comments
 (0)