Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Unicode str work-around for doit
- Loading branch information
Showing
with
1 addition
and
1 deletion.
-
+1
−1
dodo.py
|
@@ -38,7 +38,7 @@ def set_nikola_test_locales(): |
|
|
lang = line.split('_')[0] |
|
|
if lang not in languages: |
|
|
try: |
|
|
locale.setlocale(locale.LC_ALL, line) |
|
|
locale.setlocale(locale.LC_ALL, str(line)) |
|
|
except: |
|
|
continue |
|
|
languages.add(lang) |
|
|