diff --git a/pgp.py b/pgp.py index 70bd93129..1720f75bf 100644 --- a/pgp.py +++ b/pgp.py @@ -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