mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-13 22:49:51 -04:00
Merge pull request #432 from Akhil-T/master
Fix for "Type str doesn't support the buffer API"
This commit is contained in:
commit
794cdf78b0
1 changed files with 1 additions and 0 deletions
|
@ -36,6 +36,7 @@ class SetupFactory(object):
|
|||
mongo_version_string = ""
|
||||
try:
|
||||
mongo_version_string = subprocess.check_output("mongod --version",shell=True)
|
||||
mongo_version_string = mongo_version_string.decode(encoding='UTF-8')
|
||||
except:
|
||||
print("Mongod not found.")
|
||||
if "v2.5.4" not in mongo_version_string:
|
||||
|
|
Loading…
Reference in a new issue