def render(self, context):
        path = "%s/%s" % (get_upload_path(), self.message)
        try:
            context[self.var_name] = [f for f in os.listdir(path)]
        except:
            context[self.var_name] = []
        return ''
dataset/ETHPy150Open zorna/zorna/zorna/communities/templatetags/communities_tags.py/attachments_message.render/original