Skip to content

Commit

Permalink
MNT fix typos (#459)
Browse files Browse the repository at this point in the history
Co-authored-by: Aditya Vaidya <[email protected]>
  • Loading branch information
kroq-gar78 and kroq-gar78 authored Aug 13, 2022
1 parent 82e5781 commit e4c52c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cortex/webgl/view.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@
try:
cmapdir = options.config.get('webgl', 'colormaps')
if not os.path.exists(cmapdir):
raise Exception("Colormap directory (%s) does not exits"%cmapdir)
raise Exception("Colormap directory (%s) does not exist"%cmapdir)
except NoOptionError:
cmapdir = os.path.join(options.config.get("basic", "filestore"), "colormaps")
if not os.path.exists(cmapdir):
raise Exception("Colormap directory was not defined in the config file and the default (%s) does not exits"%cmapdir)
raise Exception("Colormap directory was not defined in the config file and the default (%s) does not exist"%cmapdir)

domain_name = options.config.get("webgl", "domain_name")

Expand Down

0 comments on commit e4c52c7

Please sign in to comment.