From: Andrew Ruthven Date: Mon, 29 Sep 2008 20:37:46 +0000 (+1300) Subject: Look for the correct config option. X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4cab7ec8447867c7e02ec185dd282b8ab9529aa2;p=picture-display.git Look for the correct config option. --- diff --git a/lib/Display/Plugins/Photo/FSpot.pm b/lib/Display/Plugins/Photo/FSpot.pm index 4a56671..b5c1fc3 100644 --- a/lib/Display/Plugins/Photo/FSpot.pm +++ b/lib/Display/Plugins/Photo/FSpot.pm @@ -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 => '', );