pam config change for agent id

This commit is contained in:
edip 2019-01-04 09:02:20 +03:00
parent 6ee98f1997
commit 22e592fd5b
2 changed files with 3 additions and 3 deletions

View file

@ -123,7 +123,7 @@ class AnonymousMessenger(ClientXMPP):
self.logger.info('Rebooting...') self.logger.info('Rebooting...')
#System.Process.kill_by_pid(int(System.Ahenk.get_pid_number())) #System.Process.kill_by_pid(int(System.Ahenk.get_pid_number()))
#sys.exit(2) #sys.exit(2)
#Util.shutdown(); Util.shutdown();
except Exception as e: except Exception as e:
self.logger.error('Error Message: {0}.'.format(str(e))) self.logger.error('Error Message: {0}.'.format(str(e)))

View file

@ -33,8 +33,8 @@ class Util:
@staticmethod @staticmethod
def shutdown(): def shutdown():
print("shutting down") pass
#Util.execute('reboot') Util.execute('reboot')
@staticmethod @staticmethod
def create_file(full_path): def create_file(full_path):