3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-27 21:19:31 +01:00

PyLinkNCWithUtils: don't assume mode args are strings

This commit is contained in:
James Lu 2019-02-07 14:55:27 -08:00
parent 61c8677802
commit 6e7c58ee36

View File

@ -1111,7 +1111,8 @@ class PyLinkNetworkCoreWithUtils(PyLinkNetworkCore):
modelist = '+' + modelist modelist = '+' + modelist
if args: if args:
# Add the args if there are any. # Add the args if there are any.
modelist += ' %s' % ' '.join(args) modelist += ' '
modelist += ' '.join((str(arg) for arg in args))
return modelist return modelist
@classmethod @classmethod