mirror of
https://github.com/certbot/certbot.git
synced 2026-01-26 07:41:33 +03:00
this is a simple key, not a hash
This commit is contained in:
@@ -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!
|
||||
|
||||
Reference in New Issue
Block a user