Skip to content

Commit

Permalink
not == => !=
Browse files Browse the repository at this point in the history
Co-authored-by: Even Rouault <even.rouault@spatialys.com>
  • Loading branch information
2 people authored and nyalldawson committed Nov 1, 2021
1 parent b084b39 commit 60e2460
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/db_manager/db_plugins/postgis/plugin.py
Expand Up @@ -319,7 +319,7 @@ def geometryType(self):
| LineStringZM | LineString | 4 |
"""
geometryType = self.geomType
if self.geomDim == 3 and not self.geomType[-1] == "M":
if self.geomDim == 3 and self.geomType[-1] != "M":
geometryType += "Z"
elif self.geomDim == 4:
geometryType += "ZM"
Expand Down

0 comments on commit 60e2460

Please sign in to comment.