Commit fc9dec21 authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Fixed non-bool return value.

parent aae799b2
Pipeline #40200 passed with stages
in 2 minutes and 14 seconds
......@@ -369,7 +369,7 @@ class GeoArray(object):
def is_rotated(self):
# type: () -> bool
"""Return 'True' if the image has a rotation in the map info (i.e., is pseudo-projected)."""
return self.gt[2] or self.gt[4]
return self.gt[2] != 0 or self.gt[4] != 0
@property
def nodata(self):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment