correct check pyopenssl installed

This commit is contained in:
Denis Fomin 2012-04-22 21:48:36 +04:00
parent c3ab45efeb
commit 297032e6e6
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ def approve_pending_content(id_):
content.session.approve_content('file', name=content.name)
try:
import OpenSSL
import OpenSSL.SSL
PYOPENSSL_PRESENT = True
except ImportError:
log.info("PyOpenSSL not available")