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 4a56671..b5c1fc3 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 => '',
   );