From d28848412cd4c57eb99bd58a4d8b1103010a22a5 Mon Sep 17 00:00:00 2001 From: Joel Collins Date: Mon, 30 Nov 2020 16:59:56 +0000 Subject: [PATCH] Fixed get_locations method reference --- openflexure_microscope/api/default_extensions/autostorage.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/openflexure_microscope/api/default_extensions/autostorage.py b/openflexure_microscope/api/default_extensions/autostorage.py index 2847bff0..ab32bf44 100644 --- a/openflexure_microscope/api/default_extensions/autostorage.py +++ b/openflexure_microscope/api/default_extensions/autostorage.py @@ -238,7 +238,7 @@ class AutostorageExtension(BaseExtension): class GetLocationsView(PropertyView): def get(self): self.extension.check_location() - return autostorage_extension_v2.get_locations() + return self.extension.get_locations() class PreferredLocationView(PropertyView): @@ -272,4 +272,3 @@ class PreferredLocationGUIView(View): self.extension.set_preferred_key(new_path_key) return new_path_title -