From 6aea754b3d4d08b4416fe600e7149d11ce1c3a2f Mon Sep 17 00:00:00 2001 From: Ivan Chinenov <40003182+JohnDowson@users.noreply.github.com> Date: Wed, 11 Dec 2019 23:23:07 +0300 Subject: [PATCH] Fixed typo strip => split --- bumblebee/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bumblebee/util.py b/bumblebee/util.py index 6aeb803..0d12105 100644 --- a/bumblebee/util.py +++ b/bumblebee/util.py @@ -24,7 +24,7 @@ def aslist(val): return [] if isinstance(val, list): return val - return str(val).replace(' ', '').strip(',') + return str(val).replace(' ', '').split(',') def execute(cmd, wait=True): logging.info("executing command '{}'".format(cmd))