forked from lijiext/lammps
restore python3 compatibility
This commit is contained in:
parent
72cd13aac7
commit
bc49ce611a
|
@ -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"))
|
||||
|
|
Loading…
Reference in New Issue