Check for public key

merge-requests/30/head
Bob Mottram 2021-05-05 10:57:29 +01:00
parent 8415c7d3f2
commit 61d650c6f7
1 changed files with 14 additions and 11 deletions

View File

@ -1366,6 +1366,9 @@ def runDesktopClient(baseDir: str, proxyType: str, httpPrefix: str,
desktopShown = False
while (1):
if not pgpKeyUpload:
if not hasLocalPGPkey():
print('No PGP public key was found')
else:
sayStr = indent + 'Uploading PGP public key'
_sayCommand(sayStr, sayStr, screenreader,
systemLanguage, espeak)