Skip to content

Commit

Permalink
Merge pull request #151 from delize/fix-cryptstatus.py
Browse files Browse the repository at this point in the history
Switches line 40 and 41 to resolve Serial = None issue
  • Loading branch information
grahamgilbert authored Nov 8, 2017
2 parents f11361a + ad66838 commit be932c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/plugins/cryptstatus/cryptstatus.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ def widget_content(self, page, machines=None, theid=None):
output = {}
date_escrowed = None
escrowed = None
if crypt_url:
request_url = crypt_url + '/verify/'+ serial + '/recovery_key/'
if crypt_url:
try:
r = requests.get(request_url)
if r.status_code == requests.codes.ok:
Expand Down

0 comments on commit be932c1

Please sign in to comment.