Skip to content
Snippets Groups Projects
Commit 297032e6 authored by Dicson's avatar Dicson
Browse files

correct check pyopenssl installed

parent c3ab45ef
No related branches found
No related tags found
No related merge requests found
......@@ -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")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment