Hack de la mort qui tue pour ne pas gerer les problemes d'encodage
darcs-hash:20040910135324-d1718-60927f243aabe62f38387fb3d696e188b757cf66.gz
This commit is contained in:
parent
eb68ec7572
commit
7f0787f7c3
1 changed files with 9 additions and 0 deletions
|
@ -36,6 +36,15 @@ d'historique affich
|
|||
|
||||
"""
|
||||
|
||||
try:
|
||||
import sys,locale
|
||||
|
||||
loc = locale.getdefaultlocale()
|
||||
if loc[1]:
|
||||
sys.reallysetdefaultencoding(loc[1])
|
||||
except:
|
||||
pass
|
||||
|
||||
from ldap_crans import is_actif , crans_ldap, ann_scol, crans
|
||||
from affich_tools import *
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue