diff --git a/CHANGELOG.md b/CHANGELOG.md index 2ce27e1..9251342 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,4 +12,8 @@ ## [0.2.1] ### Changed -- __init__.py updated to fix windows pip install \ No newline at end of file +- __init__.py updated to fix windows pip install + +## [0.2.2] +### Changed +- bugfix \ No newline at end of file diff --git a/qgis_richdem/__init__.py b/qgis_richdem/__init__.py index 8c4fc36..681795b 100644 --- a/qgis_richdem/__init__.py +++ b/qgis_richdem/__init__.py @@ -36,7 +36,6 @@ def import_maybe_install_richdem(): try: import richdem as rd # noqa: F401 except ImportError: - from exceptions import RunTimeError import subprocess # import sys @@ -47,7 +46,7 @@ def import_maybe_install_richdem(): shell=True # [sys.executable, "-m", "pip", "install", "richdem"] ): - raise RunTimeError( + raise RuntimeError( "Could not install RichDem. For concrete instructions, see https://qgis-tuts-wu.readthedocs.io/en/latest/docs/land_degradation_development/introduction/installing.html" ) import richdem as rd # noqa: F401