From dfd8c476900da7e87c084be6ada10fb20b354f8a Mon Sep 17 00:00:00 2001 From: CodeKevin Date: Fri, 13 May 2016 20:56:26 -0400 Subject: [PATCH] Closes #121 --- CTFd/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CTFd/utils.py b/CTFd/utils.py index 6ec60d5..bc9067e 100644 --- a/CTFd/utils.py +++ b/CTFd/utils.py @@ -391,7 +391,7 @@ def can_create_container(): try: output = subprocess.check_output(['docker', 'version']) return True - except subprocess.CalledProcessError: + except (subprocess.CalledProcessError, OSError): return False