projects
/
minwii.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Désactivation du logging dans des fichiers par positionnement de la variable 'WINWII_...
[minwii.git]
/
src
/
minwii
/
logapp.py
diff --git
a/src/minwii/logapp.py
b/src/minwii/logapp.py
index
a97e849
..
1210bf6
100755
(executable)
--- a/
src/minwii/logapp.py
+++ b/
src/minwii/logapp.py
@@
-6,10
+6,11
@@
$Id$
$URL$
"""
$URL$
"""
+import os
+os.environ['WINWII_NO_LOG'] = '1'
from Tkinter import *
import tkFileDialog
from glob import glob
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
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()
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