gui: fixed possible traceback in the save_profile
Resolves: rhbz#2058902 Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
This commit is contained in:
parent
dc8808cb39
commit
29f459bd56
1 changed files with 1 additions and 1 deletions
|
|
@ -232,7 +232,7 @@ class GuiProfileLoader(object):
|
|||
ec = subprocess.call(['pkexec', sys.executable, tuned.gtk.gui_profile_saver.__file__ , json.dumps(config)])
|
||||
if (ec != 0):
|
||||
raise managerException.ManagerException(
|
||||
'Error while saving profile file "%s"' % (config.filename))
|
||||
'Error while saving profile file "%s"' % (config['filename']))
|
||||
|
||||
def _delete_profile(self, profile_name):
|
||||
ec = subprocess.call(['pkexec', sys.executable, tuned.gtk.gui_profile_deleter.__file__ , profile_name])
|
||||
|
|
|
|||
Loading…
Reference in a new issue