Merge branch 'master' of https://github.com/codecombat/codecombat
This commit is contained in:
commit
6075f4cbe7
1 changed files with 1 additions and 0 deletions
|
@ -36,6 +36,7 @@ class SetupFactory(object):
|
||||||
mongo_version_string = ""
|
mongo_version_string = ""
|
||||||
try:
|
try:
|
||||||
mongo_version_string = subprocess.check_output("mongod --version",shell=True)
|
mongo_version_string = subprocess.check_output("mongod --version",shell=True)
|
||||||
|
mongo_version_string = mongo_version_string.decode(encoding='UTF-8')
|
||||||
except:
|
except:
|
||||||
print("Mongod not found.")
|
print("Mongod not found.")
|
||||||
if "v2.5.4" not in mongo_version_string:
|
if "v2.5.4" not in mongo_version_string:
|
||||||
|
|
Reference in a new issue