diff --git a/wifi/hotspot.py b/wifi/hotspot.py index c94f275e..dd9530da 100755 --- a/wifi/hotspot.py +++ b/wifi/hotspot.py @@ -143,6 +143,6 @@ if __name__ == "__main__": sys.stderr = ss traceback.print_exc() sys.stderr = sys.__stderr__ - syslog(LOG_CRIT | LOG_LOCAL4, "Erreur importante :\n%s" % s.getvalue()) + syslog(LOG_CRIT | LOG_LOCAL4, "Erreur importante :\n%s" % ss.getvalue()) time.sleep(60) # Pour ne pas flooder...