Index: /trunk/PS-IPP-Config/lib/PS/IPP/Config.pm
===================================================================
--- /trunk/PS-IPP-Config/lib/PS/IPP/Config.pm	(revision 12387)
+++ /trunk/PS-IPP-Config/lib/PS/IPP/Config.pm	(revision 12388)
@@ -1,5 +1,5 @@
 # Copyright (c) 2006  Paul Price, Joshua Hoblitt
 #
-# $Id: Config.pm,v 1.32 2007-03-09 02:10:09 price Exp $
+# $Id: Config.pm,v 1.33 2007-03-09 22:31:15 price Exp $
 
 package PS::IPP::Config;
@@ -393,6 +393,6 @@
     }
 
-    my $dir = _mdLookupStr($file, "DVO.CAMERADIR"); # Directory of interest
-    unless (defined $filename) {
+    my $dir = _mdLookupStr($camera, "DVO.CAMERADIR"); # Directory of interest
+    unless (defined $dir) {
 	carp "Can't find DVO.CAMERADIR in camera configuration.\n";
 	return undef;
