[wiki/parser] latex.py: bufix ?
Ignore-this: bfdbde741234fc78e75e7d2d37c513d9 darcs-hash:20120414151344-bd074-c42af8e7f9ccb0c4dcc905a1755c64fbc99f1f73.gz
This commit is contained in:
parent
a2b93e0a08
commit
52b00f312a
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue