Commit 1c495ed4 authored by Jim Nelson's avatar Jim Nelson

Need to check for null with exif.

parent 2c661155
......@@ -29,7 +29,7 @@ public class BatchImport {
// use EXIF exposure timestamp over the supplied one (which probably comes from the file's
// modified time, or is simply now())
if (!Exif.get_timestamp(exif, out timestamp)) {
if (exif != null && !Exif.get_timestamp(exif, out timestamp)) {
// if no exposure time supplied, use now()
if (ts == 0)
timestamp = time_t();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment