Skip to content

Commit 1ad7eae

Browse files
authored
Merge pull request #15 from Psycho-Ray/patch-1
2 parents bfc2948 + fe5aa10 commit 1ad7eae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

botcity/web/bot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -530,8 +530,8 @@ def find_same(item, items):
530530
for itm in items:
531531
if itm == item:
532532
continue
533-
if (itm.left >= x_start and itm.left <= x_end)\
534-
and (itm.top >= y_start and itm.top <= y_end):
533+
if (itm.left >= x_start and itm.left < x_end)\
534+
and (itm.top >= y_start and itm.top < y_end):
535535
similars.append(itm)
536536
continue
537537
return similars

0 commit comments

Comments
 (0)