diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-02-01 17:12:25 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-02-01 17:12:25 -0200 |
commit | c4afc03b51d80f13ea5e379b192ed2792c10cf56 (patch) | |
tree | bb88b2a40a1a3460ccd4cff90f4ad7e39944f5f2 /lib/keyring | |
parent | afd3cbdf1683c03ddb3656521a76066d189d27f2 (diff) | |
download | keyringer-c4afc03b51d80f13ea5e379b192ed2792c10cf56.tar.gz keyringer-c4afc03b51d80f13ea5e379b192ed2792c10cf56.tar.bz2 |
Making Recipients use config path
Diffstat (limited to 'lib/keyring')
-rw-r--r-- | lib/keyring/recipients.rb | 5 |
1 files 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)
|