Skip to content

Commit ec24a33

Browse files
author
welli7ngton
committed
fix: fix the E203 flake8 error and remove unsuded module
1 parent f093008 commit ec24a33

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

botcity/core/bot.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
import time
88
import webbrowser
99
from typing import Union, Tuple, Optional, List, Dict, Generator, Any
10-
from collections import namedtuple
1110

1211
from numpy import ndarray
1312

botcity/core/cv2find.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def locate_all_opencv(
121121

122122
if region:
123123
haystack_image = haystack_image[
124-
region[1] : region[1] + region[3], region[0] : region[0] + region[2]
124+
region[1]: region[1] + region[3], region[0]: region[0] + region[2]
125125
]
126126
else:
127127
region = (0, 0, 0, 0) # full image; these values used in the yield statement

0 commit comments

Comments
 (0)