mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-27 17:45:40 -05:00
#353 is fixed as far as I can tell; python3 and python2 both run setup.
This commit is contained in:
parent
fc9d30ccae
commit
b7f3d5310e
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ class SetupFactory(object):
|
|||
try:
|
||||
mongo_version_string = subprocess.check_output("mongod --version",shell=True)
|
||||
mongo_version_string = mongo_version_string.decode(encoding='UTF-8')
|
||||
except Exception, e:
|
||||
except Exception as e:
|
||||
print("Mongod not found: %s"%e)
|
||||
if "v2.6." not in mongo_version_string:
|
||||
if mongo_version_string:
|
||||
|
|
Loading…
Reference in a new issue