Bugfix in module publisher

bzr revid: fp@tinyerp.com-b689befdebfd8057c59f4ec1bd2f1fde93acf4c4
This commit is contained in:
Fabien Pinckaers 2007-11-03 09:58:58 +00:00
parent e1bba990d2
commit 832474c0af
1 changed files with 1 additions and 0 deletions

View File

@ -135,6 +135,7 @@ def _upload(self, cr, uid, datas, context):
aa = a.read()
if aa[0]<>'0':
updata['link_id']=aa.split('\n')[0]
updata['cat_id']=aa.split('\n')[1]
updata['option'] = 'mtree'
result = post_multipart('www.tinyerp.com', '/index.php', updata.items(), [])
return {'update': '\n'.join(log[0]), 'already': '\n'.join(log[1]),