diff --git a/libqfieldsync/offliners.py b/libqfieldsync/offliners.py index 6e2bee8..c226f9f 100644 --- a/libqfieldsync/offliners.py +++ b/libqfieldsync/offliners.py @@ -103,8 +103,8 @@ def convert_to_offline( from qgis.core import QgsWkbTypes no_geometry_types = [ - QgsWkbTypes.GeometryType.Null, - QgsWkbTypes.GeometryType.Unknown, + QgsWkbTypes.GeometryType.NullGeometry, + QgsWkbTypes.GeometryType.UnknownGeometry, ] if layer.geometryType() not in no_geometry_types: