'Save the hashed password to the Glances folder.'

def save_password(self, hashed_password):

    safe_makedirs(self.password_dir)
    with open(self.password_file, 'wb') as file_pwd:
        file_pwd.write(b(hashed_password))
