correct check pyopenssl installed
This commit is contained in:
parent
c3ab45efeb
commit
297032e6e6
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ def approve_pending_content(id_):
|
||||||
content.session.approve_content('file', name=content.name)
|
content.session.approve_content('file', name=content.name)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import OpenSSL
|
import OpenSSL.SSL
|
||||||
PYOPENSSL_PRESENT = True
|
PYOPENSSL_PRESENT = True
|
||||||
except ImportError:
|
except ImportError:
|
||||||
log.info("PyOpenSSL not available")
|
log.info("PyOpenSSL not available")
|
||||||
|
|
Loading…
Add table
Reference in a new issue