Skip to content

Commit

Permalink
Fix bug - hard require Pillow version since the update will crash ddd…
Browse files Browse the repository at this point in the history
…docr
  • Loading branch information
HappyGroupHub committed Aug 28, 2023
1 parent 9e7df89 commit 188b8fa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
if config.get("headless"):
options.add_argument('--headless')
driver = webdriver.Chrome(options=options)
driver.maximize_window()


def driver_send_keys(locator, key):
Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
PyYAML==6.0
selenium==4.11.2
ddddocr~=1.4.7
ddddocr~=1.4.7
Pillow==9.5.0

0 comments on commit 188b8fa

Please sign in to comment.