chenshibin 4 gadi atpakaļ
vecāks
revīzija
c87b87c041
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      Service/ModelService.py

+ 1 - 0
Service/ModelService.py

@@ -179,6 +179,7 @@ class ModelService:
         file = open(file_path, 'a+')
         file.write(ip + "; username:" + userID + "; time:" + time.strftime(
                 "%Y-%m-%d %H:%M:%S", time.localtime()) + "; " + operation)
+        file.write('\n')
         file.flush()
         file.close()