Affichage du titre de la chanson.
[minwii.git] / src / minwii / logapp.py
index a97e849..1210bf6 100755 (executable)
@@ -6,10 +6,11 @@ $Id$
 $URL$
 """
 
+import os
+os.environ['WINWII_NO_LOG'] = '1'
 from Tkinter import *
 import tkFileDialog
 from glob import glob
-import os
 from os.path import join as pjoin
 from os.path import basename
 from os.path import getsize
@@ -237,7 +238,10 @@ class ResultsFrame(Frame) :
             msg.grid()
             
         
+def main() :
+    app = Application()
+    app.master.title("Analyseur des sessions MINWii")
+    app.mainloop()
 
-app = Application()
-app.master.title("Analyseur des sessions MINWii")
-app.mainloop()
+if __name__ == '__main__' :
+    main()
\ No newline at end of file