Commits

Kirill Morarenko committed 8628146 Draft

changed time format in output; added core dumping

Comments (0)

Files changed (2)

 #!/bin/sh
+ulimit -c unlimited
 while true; do
 	LD_LIBRARY_PATH=$LD_LIBRARY_PATH:../interfaces/:../src:/usr/local/lib:/usr/local/lib64 PYTHONPATH=../interfaces/ python test.py
 	sleep 1
             flag = "#"
 
         if chl.name() != "Викторина":
-            print "%s [%d/%s] %s: %s" % (flag, msg.time(), chl.name(), msg.sender(), msg.text())
+            print "%s [%s/%s] %s: %s" % (flag, time.asctime(time.localtime(msg.time())), chl.name(), msg.sender(), msg.text())
 
 
     except: