[pyatspi2: 1/2] Fix typo in get_imageLocale



commit 960469e9f6fd09ab8c9eded67eae0718ede3b48d
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Fri Jul 5 11:52:03 2019 -0400

    Fix typo in get_imageLocale
    
    Should be Atspi.Image.get_image_locale; not Atspi.Image.get_image_local.

 pyatspi/image.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/pyatspi/image.py b/pyatspi/image.py
index dd8d207..c8a2f9e 100644
--- a/pyatspi/image.py
+++ b/pyatspi/image.py
@@ -98,7 +98,7 @@ class Image:
         imageDescription = property(fget=get_imageDescription, doc=_imageDescriptionDoc)
 
         def get_imageLocale(self):
-                return Atspi.Image.get_image_local(self.obj)
+                return Atspi.Image.get_image_locale(self.obj)
         _imageLocaleDoc = \
                 """
                 A string corresponding to the POSIX LC_MESSAGES locale used by


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]