Skip to content

Commit

Permalink
alt_min to lowest land altitude (#4561)
Browse files Browse the repository at this point in the history
  • Loading branch information
mjmadsen authored Aug 22, 2016
1 parent 9448920 commit 4411b93
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pokecli.py
Original file line number Diff line number Diff line change
Expand Up @@ -632,8 +632,8 @@ def task_configuration_error(flag_name):
parser.error("--walk_min is out of range! (should be >= 1.0)")
return None

if config.alt_min < 0:
parser.error("--alt_min is out of range! (should be >= 0.0)")
if config.alt_min < -413.0:
parser.error("--alt_min is out of range! (should be >= -413.0)")
return None

if not (config.location or config.location_cache):
Expand Down

0 comments on commit 4411b93

Please sign in to comment.