Handle 'name' not being initialized.
svn: r1074
This commit is contained in:
parent
985af0cb00
commit
4c42d40c5b
@ -158,6 +158,8 @@ class ImageSelect:
|
|||||||
name = RelImage.import_media_object(filename,self.path,
|
name = RelImage.import_media_object(filename,self.path,
|
||||||
mobj.getId())
|
mobj.getId())
|
||||||
mobj.setLocal(1)
|
mobj.setLocal(1)
|
||||||
|
else:
|
||||||
|
name = filename
|
||||||
else:
|
else:
|
||||||
if self.external.get_active() == 1:
|
if self.external.get_active() == 1:
|
||||||
name = filename
|
name = filename
|
||||||
|
Loading…
Reference in New Issue
Block a user