[FIX]
bzr revid: christophe@tinyerp.com-20090109142849-ee06p9d5b73yygly
This commit is contained in:
parent
35cba4cd42
commit
a416f08255
|
@ -227,7 +227,7 @@ def file_open(name, mode="r", subdir='addons', pathinfo=False):
|
|||
fo.write(zfile.read(os.path.join(
|
||||
os.path.basename(head), zipname).replace(
|
||||
os.sep, '/')))
|
||||
|
||||
fo.seek(0)
|
||||
if pathinfo:
|
||||
return fo, name
|
||||
return fo
|
||||
|
|
Loading…
Reference in New Issue