diff options
Diffstat (limited to 'python/task_server/globeop.py')
| -rw-r--r-- | python/task_server/globeop.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/python/task_server/globeop.py b/python/task_server/globeop.py index 8d4334e9..0cecb1a2 100644 --- a/python/task_server/globeop.py +++ b/python/task_server/globeop.py @@ -52,10 +52,10 @@ def get_ftp(folder): def get_gpg():
if os.name=='nt':
- gpg = gnupg.GPG(gpgbinary = r'"c:\\Program Files (x86)\\GNU\\GnuPG\\gpg2.exe"',
- gnupghome = os.path.join(os.getenv('APPDATA'), "gnupg"))
+ gpg = gnupg.GPG(gpgbinary=r'"c:\\Program Files (x86)\\GNU\\GnuPG\\gpg2.exe"',
+ gnupghome=os.path.join(os.getenv('APPDATA'), "gnupg"))
elif os.name == 'posix':
- gpg = gnupg.GPG(homedir = '/home/guillaume/.gnupg')
+ gpg = gnupg.GPG(gnupghome='/home/guillaume/.gnupg')
gpg.encoding = 'utf8'
return gpg
|
