Commit 378c7881 authored by Gusti Ridhoni Syahputera's avatar Gusti Ridhoni Syahputera Committed by Sean Davis

Fix float parsing error (bug #16295)

Signed-off-by: Sean Davis's avatarSean Davis <>
parent a9d0eb92
......@@ -80,7 +80,7 @@ class XfconfChannel:
return self._set_property("bool", prop, value)
def get_double(self, prop, default):
return float(self._get_property(prop, default))
return locale.atof(self._get_property(prop, default))
def set_double(self, prop, value):
return self._set_property("double", prop, value)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment