def add_friend(self, username):
    if self.requester.add_friend(self.username, username):
        msg.showinfo('Friend Added', 'Friend Added')
        success = True
        self.reload_friends()
    else:
        msg.showerror('Add Failed', 'Friend was not found')
        success = False
    return success
def add_friend(self, username):
    if self.requester.add_friend(self.username, username):
        msg.showinfo('Friend Added', 'Friend Added')
        success = True
        self.reload_friends()
    else:
        msg.showerror('Add Failed', 'Friend was not found')
        success = False
    return success