From 2b2ec1b0157fcfb3a50358617c5277a494eb5182 Mon Sep 17 00:00:00 2001 From: kramm Date: Fri, 9 Nov 2007 10:23:25 +0000 Subject: [PATCH] fixed pdfdriver function call --- lib/python/gfx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/python/gfx.c b/lib/python/gfx.c index c9f3fa2..dafddfa 100644 --- a/lib/python/gfx.c +++ b/lib/python/gfx.c @@ -382,7 +382,7 @@ static PyObject* f_open(PyObject* parent, PyObject* args, PyObject* kwargs) DocObject*self = PyObject_New(DocObject, &DriverClass); if(!strcmp(type,"pdf")) - self->doc = pdfdriver->open(filename); + self->doc = pdfdriver->open(pdfdriver,filename); else return PY_ERROR("Unknown type %s", type); -- 1.7.10.4