Skip to content

Commit

Permalink
fixed typo RunTimeError -> RuntimeError
Browse files Browse the repository at this point in the history
  • Loading branch information
feefladder committed Oct 11, 2022
1 parent 2ed746b commit e331499
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,8 @@

## [0.2.1]
### Changed
- __init__.py updated to fix windows pip install
- __init__.py updated to fix windows pip install

## [0.2.2]
### Changed
- bugfix
3 changes: 1 addition & 2 deletions qgis_richdem/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit e331499

Please sign in to comment.