[Xfce4-commits] [apps/xfce4-screensaver] 01/01: Fix decimal properties when running through atof

noreply at xfce.org noreply at xfce.org
Wed Jan 15 12:44:54 CET 2020


This is an automated email from the git hooks/post-receive script.

b   l   u   e   s   a   b   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository apps/xfce4-screensaver.

commit 37b9637379f30f9d4ae7bc06482f551f6760721b
Author: Sean Davis <smd.seandavis at gmail.com>
Date:   Wed Jan 15 06:44:49 2020 -0500

    Fix decimal properties when running through atof
---
 src/xfce4-screensaver-configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/xfce4-screensaver-configure b/src/xfce4-screensaver-configure
index f0af794..b5723f0 100755
--- a/src/xfce4-screensaver-configure
+++ b/src/xfce4-screensaver-configure
@@ -80,7 +80,7 @@ class XfconfChannel:
         return self._set_property("bool", prop, value)
 
     def get_double(self, prop, default):
-        return locale.atof(self._get_property(prop, default))
+        return locale.atof(str(self._get_property(prop, default)))
 
     def set_double(self, prop, value):
         return self._set_property("double", prop, value)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list