Opened 5 years ago

Closed 5 years ago

#3712 closed defect (fixed)

v.colors2 range check bug

Reported by: pmolzer Owned by: grass-dev@…
Priority: normal Milestone:
Component: Addons Version: 7.4.2
Keywords: Cc:
CPU: Unspecified Platform: All

Description

range checking in v.colors2 fails when the min value is 0. Line 183 should be changed from this:

if not minval or not maxval:

to this:

if minval is None or maxval is None:

Change History (1)

comment:1 by lucadelu, 5 years ago

Resolution: fixed
Status: newclosed

In 73813:

v.colors2: fixed #3712

Note: See TracTickets for help on using tickets.