Commit d26bf4dc authored by Hugo LEVY-FALK's avatar Hugo LEVY-FALK

fix encoding

parent beae8ee8
...@@ -76,7 +76,7 @@ class RadiusdHandler(logging.Handler): ...@@ -76,7 +76,7 @@ class RadiusdHandler(logging.Handler):
rad_sig = radiusd.L_INFO rad_sig = radiusd.L_INFO
else: else:
rad_sig = radiusd.L_DBG rad_sig = radiusd.L_DBG
radiusd.radlog(rad_sig, record.msg) radiusd.radlog(rad_sig, record.msg.encode('utf-8'))
# Initialisation d'un logger (pour logguer unifié) # Initialisation d'un logger (pour logguer unifié)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment