Skip to content

Commit d65431e

Browse files
committed
Bugfix. Fixes #143
1 parent 851034c commit d65431e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

networkmanager_dmenu

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -537,6 +537,8 @@ def _create_vpngsm_actions(cons, active_cons, label):
537537
# Get hotspot ssid
538538
if con.get_setting_wireless().get_mode() == 'ap':
539539
hotspot = f" '{ssid_to_utf8(con.get_setting_wireless())}'"
540+
else:
541+
hotspot = ""
540542
except AttributeError:
541543
hotspot = ""
542544
action_name = f"{con.get_id()}{hotspot}:{label}"

0 commit comments

Comments
 (0)