Yassmen commited on
Commit
51aa6a1
·
verified ·
1 Parent(s): 3fb6866

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -42,7 +42,8 @@ import os
42
  import subprocess
43
 
44
 
45
-
 
46
  # Set up Chrome options
47
  options = webdriver.ChromeOptions()
48
  options.add_argument('--headless')
 
42
  import subprocess
43
 
44
 
45
+ # Make sure the chromedriver is executable
46
+ os.chmod('./chromedriver', 0o755)
47
  # Set up Chrome options
48
  options = webdriver.ChromeOptions()
49
  options.add_argument('--headless')