Compare commits

...

11 Commits

2 changed files with 15 additions and 2 deletions
Split View
  1. +14
    -0
      platform_Windows.py
  2. +1
    -2
      unix.py

+ 14
- 0
platform_Windows.py View File

@ -1,3 +1,17 @@
# coding=UTF-8
import os
from common import which, GnuPGNotFound
from thunderbird import enigmail_agentPath
def gpg_executable(thunderbird_base):
enigmail_gpg = enigmail_agentPath(thunderbird_base)
gpg = enigmail_gpg if enigmail_gpg else which('gpg.exe')
if not gpg:
raise GnuPGNotFound()
else:
return gpg
thunderbird_base = os.path.join(os.environ['APPDATA'], 'Thunderbird')
per_user_directory = os.path.join(os.environ['LOCALAPPDATA'], 'pEp')

+ 1
- 2
unix.py View File

@ -15,5 +15,4 @@ def gpg_executable(thunderbird_base):
else:
return gpg
per_user_directory = environ['HOME'] + '/.pEp'
per_user_directory = environ['HOME'] + '/.pEp'

Loading…
Cancel
Save