Explorar el Código

add \n in every log output

alpha
Ellis Huntingmoon hace 4 años
padre
commit
45a73272a2
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      main.py

+ 1
- 1
main.py Ver fichero

@@ -56,7 +56,7 @@ def sshQuit(cs, sd):
56 56
 
57 57
     f = open(filepath, 'a')
58 58
     r_time = time.ctime(time.time())
59
-    f.write('record succesfully stopped at ' + str(r_time))
59
+    f.write('record succesfully stopped at ' + str(r_time)+ '\n')
60 60
     f.close()
61 61
 
62 62
 

Loading…
Cancelar
Guardar