diff --git a/wifi/hotspot.py b/wifi/hotspot.py index 60c723fe..c94f275e 100755 --- a/wifi/hotspot.py +++ b/wifi/hotspot.py @@ -139,8 +139,8 @@ if __name__ == "__main__": except: import traceback from cStringIO import StringIO - s = StringIO() - sys.stderr = s + ss = StringIO() + sys.stderr = ss traceback.print_exc() sys.stderr = sys.__stderr__ syslog(LOG_CRIT | LOG_LOCAL4, "Erreur importante :\n%s" % s.getvalue())