fnp
/
prawokultury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
update registration confirmation and turn off translation
[prawokultury.git]
/
contact
/
utils.py
diff --git
a/contact/utils.py
b/contact/utils.py
old mode 100755
(executable)
new mode 100644
(file)
index
e69de29
..
497f954
--- a/
contact/utils.py
+++ b/
contact/utils.py
@@
-0,0
+1,4
@@
+def deunicode(obj):
+ if isinstance(obj, unicode):
+ return obj.encode('utf-8')
+ return obj