Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Fix potential encoding problem

Roland Geider681d8b0fcce9
diff --git a/wger/utils/context_processor.py b/wger/utils/context_processor.py
index 4fe85ac3e..4fd6b860b 100644
--- a/wger/utils/context_processor.py
+++ b/wger/utils/context_processor.py
@@ -26,7 +26,7 @@ def processor(request):
full_path = request.get_full_path()
i18n_path = {}
for lang in settings.LANGUAGES:
- i18n_path[lang[0]] = '/{0}{1}'.format(lang[0], full_path[3:])
+ i18n_path[lang[0]] = u'/{0}{1}'.format(lang[0], full_path[3:])
context = {
# Application version