Fixed SaveDate when date is None

svn: r495
This commit is contained in:
Don Allingham
2001-10-19 14:52:39 +00:00
parent 8de449b106
commit 9466349afb
3 changed files with 6 additions and 5 deletions

View File

@ -262,6 +262,7 @@ class Gallery(ImageSelect):
GnomeErrorDialog("%s\n%s %d" % (t,msg[0],msg[1]))
return
mime = utils.get_mime_type(tfile)
print mime
photo = Photo()
photo.setMimeType(mime)
photo.setDescription(d)