Skip to content
Snippets Groups Projects
Commit b47d253a6f96 authored by Florent Aide,'s avatar Florent Aide,
Browse files

Remove the obsolete example implemented in the main function

parent 2e8910739615
No related branches found
No related tags found
No related merge requests found
......@@ -130,18 +130,3 @@
# use our java lib...
self.jconvertor.convert(infilename, outfilename, filter)
if __name__ == '__main__':
import datetime
# this is just a test...
start_jvm(
"x:/Program Files/Java/jdk1.6.0_21/jre/bin/client/jvm.dll",
"x:/Program Files/OpenOffice.org 3",
140)
c = Convertor("127.0.0.1", "8997")
t1 = datetime.datetime.now()
c.convert("py3o_example.odt", "py3o_example.pdf", "writer_pdf_Export")
t2 = datetime.datetime.now()
print "Took %s for conversion" % (t2 - t1)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment