changeset 1414:2b82c5a11512

small fix to new PYLEARN_DATA_ROOT
author Frederic Bastien <nouiz@nouiz.org>
date Thu, 03 Feb 2011 13:50:27 -0500
parents 58dff11840f0
children 234e5e48d60d
files pylearn/datasets/config.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pylearn/datasets/config.py	Thu Feb 03 13:16:30 2011 -0500
+++ b/pylearn/datasets/config.py	Thu Feb 03 13:50:27 2011 -0500
@@ -39,7 +39,7 @@
         return data_roots.rval
     roots = os.getenv('PYLEARN_DATA_ROOT')
     if roots is None:
-        roots = data_root()
+        roots = [data_root()]
     else:
         roots = roots.split(':')
     roots2 = []