Skip to content

Commit

Permalink
Bug fix Fabric command usage
Browse files Browse the repository at this point in the history
  • Loading branch information
asset-web committed Oct 24, 2023
1 parent e867ab9 commit 912ef43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/fabfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def make_virtualenv(env="dev", configure_apache=False, clone_repo=False, branch=
with change_dir(venv_dir + "/bin"):
# Download the correct chrome driver version for the version of google chrome that is currently installed,
# ref: https://sites.google.com/a/chromium.org/chromedriver/downloads/version-selection#:~:text=Each%20version%20of%20ChromeDriver%20supports,3683.
google_chrome_version = caller('google-chrome --version', capture=True).strip("Google Chrome ")
google_chrome_version = caller('google-chrome --version').strip("Google Chrome ")
chrome_driver_version = google_chrome_version[:google_chrome_version.rindex(".")]
version = urllib2.urlopen('https://chromedriver.storage.googleapis.com/LATEST_RELEASE_'+chrome_driver_version).read()
caller('wget https://chromedriver.storage.googleapis.com/' + version + '/chromedriver_linux64.zip')
Expand Down

0 comments on commit 912ef43

Please sign in to comment.