Fix uploading of images (sql: media_data, exif).
authorElrond <elrond+mediagoblin.org@samba-tng.org>
Thu, 15 Mar 2012 11:38:09 +0000 (12:38 +0100)
committerElrond <elrond+mediagoblin.org@samba-tng.org>
Thu, 15 Mar 2012 11:38:09 +0000 (12:38 +0100)
commit497d927983febc0cfdc37e57ccf892ddcf736d04
treeb361f85d0626ad0d4705d32d7efdd7b7b4ee9dbd
parent729424befd80ed34d486cf995499ce7a8bd0806f
Fix uploading of images (sql: media_data, exif).

When uploading a new image the processing code wants to set
the media_data['exif'] part. As exif is not yet in sql,
there is no way to make this work now. So the workaround is
to check for "no row exists yet" and just ignore exif.
mediagoblin/media_types/image/processing.py