Index: trunk/ippTools/src/dettool.c
===================================================================
--- trunk/ippTools/src/dettool.c	(revision 11344)
+++ trunk/ippTools/src/dettool.c	(revision 11360)
@@ -657,6 +657,7 @@
     {
         bool status = false;
-        psString exp_type = psMetadataLookupStr(&status, config->args, "-select_exp_type");        if (!status) {
-            psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -exp_type");
+        psString exp_type = psMetadataLookupStr(&status, config->args, "-select_exp_type");        
+	if (!status) {
+            psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -select_exp_type");
             return false;
         }
@@ -803,10 +804,4 @@
     }
 
-    psString exp_type = psMetadataLookupStr(&status, config->args, "-exp_type");
-    if (!status) {
-        psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -exp_type");
-        return false;
-    }
-
     psString filter = psMetadataLookupStr(&status, config->args, "-filter");
     if (!status) {
@@ -1034,5 +1029,5 @@
             camera,
             telescope,
-            exp_type,
+            "NA",
             filter,
             airmass_min,
