Skip to content

Commit

Permalink
Open the whiteboxgeo website after installation
Browse files Browse the repository at this point in the history
  • Loading branch information
giswqs committed Jul 27, 2022
1 parent 4965d8e commit 950b727
Show file tree
Hide file tree
Showing 2 changed files with 2,158 additions and 2,182 deletions.
3 changes: 3 additions & 0 deletions whitebox/download_wbt.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ def download_wbt(verbose=True):
import shutil
import urllib.request
import pkg_resources
import webbrowser

# print("Your operating system: {}".format(platform.system()))
package_name = "whitebox"
Expand Down Expand Up @@ -142,6 +143,8 @@ def download_wbt(verbose=True):
except Exception as e:
print(e)

webbrowser.open('https://www.whiteboxgeo.com/', new=2)

if not os.path.exists(work_dir):
if verbose:
print("Downloading testdata ...")
Expand Down

0 comments on commit 950b727

Please sign in to comment.