delete polkit file when logout

This commit is contained in:
Tuncay ÇOLAK 2020-10-27 14:10:31 +03:00
parent 00ba99b216
commit 7f70966cc4
2 changed files with 3 additions and 2 deletions

View file

@ -45,8 +45,9 @@ class CommandRunner(object):
self.logger.info('Ahenk polkit file not found')
else:
Util.delete_file(ahenk_policy_file)
Util.write_file(ahenk_policy_file, content)
self.logger.info('Root added ahenk polkit file')
self.logger.info("Delete polkit file")
# Util.write_file(ahenk_policy_file, content)
# self.logger.info('Root added ahenk polkit file')
def run_command_from_fifo(self, num, stack):
""" docstring"""

View file