WindowLog.js
authorEdward <edward@roojs.com>
Mon, 3 Dec 2012 03:05:42 +0000 (11:05 +0800)
committerEdward <edward@roojs.com>
Mon, 3 Dec 2012 03:05:42 +0000 (11:05 +0800)
WindowLog.js

index 75a03ae..8b24906 100644 (file)
@@ -91,7 +91,7 @@ WindowLog = {
         var path = dir + (xDate.newDate()).format("/d") + ".log";
         var time = (xDate.newDate()).format("H:i:s ")
         
-        File.append (path, time + str + ' ' + cmd + "\n\n");
+        File.append (path, "\n" +time + str + ' ' + cmd );
         
 
         return;