Skip to content
Permalink
Browse files
not == => !=
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 60e24608be3e5277c61332a90cb5a495ec02240a
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/db_manager/db_plugins/postgis/plugin.py
@@ -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"

0 comments on commit 60e2460

Please sign in to comment.