From c4afc03b51d80f13ea5e379b192ed2792c10cf56 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 1 Feb 2011 17:12:25 -0200 Subject: Making Recipients use config path --- lib/keyring/recipients.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/keyring/recipients.rb b/lib/keyring/recipients.rb index af3491e..338c93c 100644 --- a/lib/keyring/recipients.rb +++ b/lib/keyring/recipients.rb @@ -20,8 +20,9 @@ module Keyring class Recipients - def initialize(aBaseDirectory = '..') - @recipientsStore = Backend::RecipientsStore.new(aBaseDirectory) + def initialize + path = UserConfig.instance.path + @recipientsStore = Backend::RecipientsStore.new(path) end def addRecipient(anEmail, aKeySignature) -- cgit v1.2.3