parent
310bece2bc
commit
75921ceaf4
@ -461,7 +461,8 @@ class TreeDocBase(BaseDoc, TreeDoc):
|
|||||||
if os.path.isfile(path):
|
if os.path.isfile(path):
|
||||||
if win():
|
if win():
|
||||||
path = path.replace('\\', '/')
|
path = path.replace('\\', '/')
|
||||||
self.write(level+1, 'image = {%s},\n' % path)
|
self.write(level+1, 'image = {{%s}%s},\n' %
|
||||||
|
os.path.splitext(path))
|
||||||
break # first image only
|
break # first image only
|
||||||
self.write(level, '}\n')
|
self.write(level, '}\n')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user