Check for directory

main
Bob Mottram 2021-03-11 20:48:02 +00:00
parent 6c1b792a20
commit e579ab9497
1 changed files with 1 additions and 1 deletions

2
pgp.py
View File

@ -354,7 +354,7 @@ def hasLocalPGPkey() -> bool:
"""
homeDir = str(Path.home())
gpgDir = homeDir + '/.gnupg'
if os.path.isfile(gpgDir):
if os.path.isdir(gpgDir):
return True
return False