correct check pyopenssl installed
This commit is contained in:
parent
c3ab45efeb
commit
297032e6e6
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue