Commit 6cb37a41 authored by Philipp Hörist's avatar Philipp Hörist

ServerInfo: Match the correct FORM_TYPE

parent 545d25ca
......@@ -176,8 +176,8 @@ class ServerInfo(Gtk.ApplicationWindow, EventHelper):
def _get_addresses(fields, dataforms):
addresses = {}
for form in dataforms:
type_ = form.vars.get('FORM_TYPE')
if type_ == '':
field = form.vars.get('FORM_TYPE')
if field.value != '':
for address_type in fields:
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment