[wiki/parser] latex.py: bufix ?

Ignore-this: bfdbde741234fc78e75e7d2d37c513d9

darcs-hash:20120414151344-bd074-c42af8e7f9ccb0c4dcc905a1755c64fbc99f1f73.gz
parent a2b93e0a
......@@ -167,7 +167,7 @@ class Parser:
enctex = tex.encode('utf-8')
fn = latex_name_template % sha.new(enctex).hexdigest()
attachdir = AttachFile.getAttachDir(self.request, formatter.page.page_name, create=1)
attachdir = AttachFile.getAttachDir(self.request, self.request.page.page_name, create=1)
dst = "%s/%s%%d.png" % (attachdir, fn)
if not os.access(dst % 1, os.R_OK):
tmpdir = tempfile.mkdtemp()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment