Browse Source

Fix syntax

pull/1/head
Daev 5 years ago
parent
commit
89ddd49e3f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      verify.py

+ 1
- 1
verify.py View File

@ -24,7 +24,7 @@ def parseQR(qr):
return qr.split(':')
def download(pubKeyLink):
key = dns.resolver.resolve(pubKeyLink, 'TXT')[0].strings[0].decode("utf-8").replace("\\n","\n");
key = dns.resolver.resolve(pubKeyLink, 'TXT')[0].strings[0].decode("utf-8").replace("\\n","\n")
if ("-----BEGIN PUBLIC KEY-----" not in key):
key = "-----BEGIN PUBLIC KEY-----" + "\n" + key + "\n" + "-----END PUBLIC KEY-----\n"
return key


Loading…
Cancel
Save