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,
|
||||
mobj.getId())
|
||||
mobj.setLocal(1)
|
||||
else:
|
||||
name = filename
|
||||
else:
|
||||
if self.external.get_active() == 1:
|
||||
name = filename
|
||||
|
Loading…
Reference in New Issue
Block a user