diff options
| author | drebs <drebs@leap.se> | 2012-12-11 16:34:40 -0200 | 
|---|---|---|
| committer | drebs <drebs@leap.se> | 2012-12-11 16:34:40 -0200 | 
| commit | a14d5ae150c52c3419764443409b7d146c43cb09 (patch) | |
| tree | d8bc73fef331ef9a3c1f072e6b36b3eea2da7496 | |
| parent | a12b80b23695dd1db8ac5edeb4b79e6ff8e527c2 (diff) | |
Fix gnupg prefix path.
| -rw-r--r-- | src/leap/soledad/__init__.py | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/src/leap/soledad/__init__.py b/src/leap/soledad/__init__.py index d07567b5..45034561 100644 --- a/src/leap/soledad/__init__.py +++ b/src/leap/soledad/__init__.py @@ -2,6 +2,7 @@  """A U1DB implementation for using Object Stores as its persistence layer.""" +import os  import gnupg  class GPGWrapper(): @@ -10,7 +11,7 @@ class GPGWrapper():      replaced by a more general class used throughout the project.      """ -    GNUPG_HOME    = "~/.config/leap/gnupg" +    GNUPG_HOME    = os.environ['HOME'] + "/.config/leap/gnupg"      GNUPG_BINARY  = "/usr/bin/gpg" # this has to be changed based on OS      def __init__(self, gpghome=GNUPG_HOME, gpgbinary=GNUPG_BINARY): | 
