From 828d1aa05a117a4e23fece8d5ad94ed1b0c07017 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20Nar=C3=A7on?= <nicolas.narcon@inrae.fr> Date: Tue, 25 Jan 2022 10:18:22 +0100 Subject: [PATCH] FIX: enable importing pyotb on python 3.6 and 3.7 --- pyotb/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyotb/core.py b/pyotb/core.py index 8049c2e..ed8a9a5 100644 --- a/pyotb/core.py +++ b/pyotb/core.py @@ -85,7 +85,7 @@ class otbObject(ABC): image_size = self.GetImageSize(output_parameter_key) image_bands = self.GetImageNbBands(output_parameter_key) # TODO: it currently returns (width, height, bands), should we use numpy convention (height, width, bands) ? - return *image_size, image_bands + return (*image_size, image_bands) def __getattr__(self, name): """This method is called when the default attribute access fails. We choose to try to access the attribute of -- GitLab