mirror of
https://github.com/certbot/certbot.git
synced 2026-03-25 11:53:14 -04:00
this is a simple key, not a hash
This commit is contained in:
parent
647abf8e3c
commit
8e4e2af1fa
1 changed files with 1 additions and 1 deletions
|
|
@ -95,7 +95,7 @@ def testchallenge(session):
|
|||
# Try to get a unique abbreviated ID (10 hex digits)
|
||||
for i in xrange(20):
|
||||
abbreviation = random()[:10]
|
||||
if r.hget("shorturl-%s" % abbreviation) is None:
|
||||
if r.get("shorturl-%s" % abbreviation) is None:
|
||||
break
|
||||
else:
|
||||
# Mysteriously unable to get a unique abbreviated session ID!
|
||||
|
|
|
|||
Loading…
Reference in a new issue