Commit 37b96373 authored by Sean Davis's avatar Sean Davis 🕶

Fix decimal properties when running through atof

parent 93a49f7d
......@@ -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)
......
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