Fixed local flag not being set on image import

svn: r677
This commit is contained in:
Don Allingham
2002-01-03 18:09:32 +00:00
parent faca534de4
commit 22ec320188
7 changed files with 8 additions and 11 deletions

View File

@@ -332,6 +332,7 @@ class MediaView:
id = photo.getId()
path = self.db.getSavePath()
name = RelImage.import_media_object(tfile,path,id)
photo.setLocal(1)
photo.setPath(name)
except:
photo.setPath(tfile)