small translation fix
[prawokultury.git] / contact / utils.py
old mode 100755 (executable)
new mode 100644 (file)
index e69de29..497f954
@@ -0,0 +1,4 @@
+def deunicode(obj):
+    if isinstance(obj, unicode):
+        return obj.encode('utf-8')
+    return obj