diff --git a/qfieldsync/core/layer.py b/qfieldsync/core/layer.py index 1d2e4bbd..4b4e3cea 100644 --- a/qfieldsync/core/layer.py +++ b/qfieldsync/core/layer.py @@ -153,7 +153,7 @@ def is_supported(self): @property def warning(self): - if self.layer.source().endswith('jp2', 'jpx'): + if self.layer.source().endswith(('jp2', 'jpx')): return QCoreApplication.translate('DataSourceWarning', 'JPEG2000 layers are not supported by QField.
You can rasterize ' 'them as basemap.'