fnp
/
edumed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
exercises with scoring
[edumed.git]
/
catalogue
/
management
/
commands
/
importlessons.py
diff --git
a/catalogue/management/commands/importlessons.py
b/catalogue/management/commands/importlessons.py
index
83bf68b
..
3bd05ad
100755
(executable)
--- a/
catalogue/management/commands/importlessons.py
+++ b/
catalogue/management/commands/importlessons.py
@@
-46,8
+46,8
@@
class Command(BaseCommand):
read_dir(fullname)
else:
f = IOFile.from_filename(fullname)
read_dir(fullname)
else:
f = IOFile.from_filename(fullname)
- files[name] = f
- files.setdefault(name.replace(" ", ""), f)
+ files[name
.decode('utf-8')
] = f
+ files.setdefault(name.replace(" ", "")
.decode('utf-8')
, f)
read_dir(path)
return files
read_dir(path)
return files