diff --git a/tljh/conda.py b/tljh/conda.py index aa4b051..c39dc32 100644 --- a/tljh/conda.py +++ b/tljh/conda.py @@ -117,7 +117,8 @@ def ensure_conda_packages(prefix, packages, channels=('conda-forge',), force_rei # avoids problems with RemoveError upgrading conda from old versions cmd += ["--force-reinstall"] - cmd += ["-c", channel for channel in channels] + for channel in channels: + cmd += ["-c", channel] abspath = os.path.abspath(prefix)