view MoinMoin/filter/application_vnd_ms_powerpoint.py @ 6133:a6283e189869 tip

fixup: remove nonexisting passlib.utils._blowfish this was removed by the passlib 1.7.1 upgrade.
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Thu, 01 Jun 2017 18:10:19 +0200
parents 63af53510576
children
line wrap: on
line source
# -*- coding: iso-8859-1 -*-
"""
    MoinMoin - mspowerpoint filter

    Depends on: "catppt" command from "catdoc" package

    @copyright: 2009 MoinMoin:ThomasWaldmann
    @license: GNU GPL, see COPYING for details.
"""

from MoinMoin.filter import execfilter

def execute(indexobj, filename):
    data = execfilter("catppt -dutf-8 %s", filename)
    return data