Skip to content

Commit be80796

Browse files
committed
STY: Format the code properly.
1 parent f4cf0c4 commit be80796

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

botcity/web/bot.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ def start_browser(self):
142142
"""
143143
Starts the selected browser.
144144
"""
145+
145146
def check_driver():
146147
# Look for driver
147148
driver_name = BROWSER_CONFIGS.get(self.browser).get("driver")
@@ -776,8 +777,8 @@ def mouse_move(self, x, y):
776777
777778
"""
778779
# ActionChains(self._driver).move_by_offset(-self._x, -self._y).perform()
779-
mx = x-self._x
780-
my = y-self._y
780+
mx = x - self._x
781+
my = y - self._y
781782
self._x = x
782783
self._y = y
783784
ActionChains(self._driver).move_by_offset(mx, my).perform()

botcity/web/browsers/__init__.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
import enum
2-
from . import chrome
3-
from . import firefox
42

53
from selenium import webdriver
64

5+
from . import chrome
6+
from . import firefox
7+
78

89
class Browser(str, enum.Enum):
910
"""

0 commit comments

Comments
 (0)