[FIX] eval(label) fails if label is not a str.

bzr revid: florent.xicluna@gmail.com-20120119215758-yflsp1cjz997o2r8
This commit is contained in:
Florent Xicluna 2012-01-19 22:57:58 +01:00
parent f65509f1ce
commit 9d2ccc5aef
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ class view(osv.osv):
def graph_get(self, cr, uid, id, model, node_obj, conn_obj, src_node, des_node, label, scale, context=None):
if not label:
label = []
label = '[]'
nodes=[]
nodes_name=[]
transitions=[]