restore python3 compatibility

This commit is contained in:
Axel Kohlmeyer 2018-04-09 23:08:49 -04:00
parent 72cd13aac7
commit bc49ce611a
1 changed files with 1 additions and 1 deletions

View File

@ -251,6 +251,6 @@ if addflag:
error()
# download single model
cmd = '%s/bin/kim-api-v1-collections-management install system %s' % (kimdir, addmodelname)
cmd = '%s/bin/kim-api-v1-collections-management install system %s' % (kimdir.decode("UTF-8"), addmodelname)
txt = subprocess.check_output(cmd,stderr=subprocess.STDOUT,shell=True)
if verboseflag: print (txt.decode("UTF-8"))