summaryrefslogtreecommitdiffstats
path: root/textw/network_text.py
diff options
context:
space:
mode:
Diffstat (limited to 'textw/network_text.py')
-rw-r--r--textw/network_text.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/textw/network_text.py b/textw/network_text.py
index 1419fb806..97eb63c36 100644
--- a/textw/network_text.py
+++ b/textw/network_text.py
@@ -348,7 +348,7 @@ class HostnameWindow:
if rc == TEXT_BACK_CHECK:
return INSTALL_BACK
- if radio.getSelection != "manual":
+ if radio.getSelection() != "manual":
network.overrideDHCPhostname = 0
network.hostname = "localhost.localdomain"
else: