mirror of
https://github.com/gryf/wicd.git
synced 2025-12-24 15:12:31 +01:00
Actually tell the user that he may need to be in wpath.wicd_group if wicd-clientgets an access-denied error.
This commit is contained in:
@@ -88,7 +88,7 @@ def catchdbus(func):
|
||||
return func(*args, **kwargs)
|
||||
except DBusException, e:
|
||||
if e.get_dbus_name() != None and "DBus.Error.AccessDenied" in e.get_dbus_name():
|
||||
error(None, language['access_denied'])
|
||||
error(None, language['access_denied'].replace("$A","<b>"+wpath.wicd_group+"</b>"))
|
||||
#raise
|
||||
raise DBusException(e)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user