Add missing initialization of variable
This commit is contained in:
1 parent
a3df503910
commit
6b860c0b02
1 file changed
+1
@@ -255,6 +255,7 @@ class Reference(WidgetInterface):
|
||||
model, (obj_id, name) = '', (0, '')
|
||||
else:
|
||||
model, obj_id = value
|
||||
name = ''
|
||||
if isinstance(obj_id, (list, tuple)):
|
||||
obj_id, name = obj_id
|
||||
if model:
|
||||
|
||||
Reference in new issue
Block a user