We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9164fc commit 54dc24fCopy full SHA for 54dc24f
1 file changed
NetworkManager.py
@@ -213,6 +213,11 @@ def SpecificDevice(self):
213
NM_DEVICE_TYPE_ADSL: Adsl,
214
}[self.DeviceType](self.object_path)
215
216
+ def postprocess(self, name, val):
217
+ if name == 'Ip4Address':
218
+ return fixups.addr_to_python(val)
219
+ return val
220
+
221
class AccessPoint(NMDbusInterface):
222
interface_name = 'org.freedesktop.NetworkManager.AccessPoint'
223
0 commit comments