Commit d427f4cf authored by Maude Le Jeune's avatar Maude Le Jeune
Browse files

remaining bug from last commit

parent 329cf21f
......@@ -82,6 +82,9 @@ def str_file(obj):
if isinstance(obj, str):
s = _sup.sub('',obj)
s = _rep.sub('_',s)
elif isinstance(obj, dict):
obj = [v for k,v in obj.iteritems()]
s = '_'.join([str_file(o) for o in obj])
else:
try:
s = '_'.join([str_file(o) for o in obj])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment