]> git.etc.gen.nz Git - picture-display.git/commitdiff
Look for the correct config option.
authorAndrew Ruthven <andrew@etc.gen.nz>
Mon, 29 Sep 2008 20:37:46 +0000 (09:37 +1300)
committerAndrew Ruthven <andrew@cerberus.etc.gen.nz>
Mon, 29 Sep 2008 20:37:46 +0000 (09:37 +1300)
lib/Display/Plugins/Photo/FSpot.pm

index 4a566718f79c0a738f492fe043c89fb8fc51d258..b5c1fc322ca0b5c3a17a94d72088dbd448f76a7c 100644 (file)
@@ -41,7 +41,7 @@ sub init {
 
   POE::Component::EasyDBI->spawn(
     alias => 'FSpotDB',
-    dsn   => "dbi:SQLite:dbname=" . ($self->{'config'}{'_config'}{'plugins'}{'DB'} || $default_f_spot_db),
+    dsn   => "dbi:SQLite:dbname=" . ($self->{'config'}{'_config'}{'plugins'}{'FSpot'}{'DB'} || $default_f_spot_db),
     username => '',
     password => '',
   );