def read(fname):
    return open(os.path.join(os.path.dirname(__file__), fname)).read()
def delete_comment(self):
        "Delete the selected comment"

        if self.get_selected_item()['type'] == 'Comment':
            self.delete_item()
        else:
            self.term.flash()