mirror of
https://github.com/retspen/webvirtcloud
synced 2024-12-24 23:25:24 +00:00
Fix pep8 errors
This commit is contained in:
parent
ee2b97d62f
commit
e1d3be17f1
3 changed files with 3 additions and 3 deletions
|
@ -9,4 +9,4 @@ register = template.Library()
|
|||
def ssh_to_fingerprint(line):
|
||||
key = base64.b64decode(line.strip().split()[1].encode('ascii'))
|
||||
fp_plain = hashlib.md5(key).hexdigest()
|
||||
return ':'.join(a+b for a, b in zip(fp_plain[::2], fp_plain[1::2]))
|
||||
return ':'.join(a + b for a, b in zip(fp_plain[::2], fp_plain[1::2]))
|
||||
|
|
Loading…
Reference in a new issue