Skip to content
Snippets Groups Projects
Commit 378c7881 authored by Gusti Ridhoni Syahputera's avatar Gusti Ridhoni Syahputera Committed by Sean Davis
Browse files

Fix float parsing error (bug #16295)


Signed-off-by: default avatarSean Davis <smd.seandavis@gmail.com>
parent a9d0eb92
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment