projects
/
minwii.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
impression de la version du fichier de log.
[minwii.git]
/
src
/
app
/
log.py
diff --git
a/src/app/log.py
b/src/app/log.py
index
74500ec
..
e3a2182
100755
(executable)
--- a/
src/app/log.py
+++ b/
src/app/log.py
@@
-13,6
+13,7
@@
import pygame
import logging
import os
import datetime
import logging
import os
import datetime
+LOG_FORMAT_VERSION='1.0-alpha'
hiddenEvents = {pygame.MOUSEMOTION:True,
pygame.MOUSEBUTTONDOWN:True,
hiddenEvents = {pygame.MOUSEMOTION:True,
pygame.MOUSEBUTTONDOWN:True,
@@
-42,7
+43,7
@@
class EventFilter :
def filter(self, record) :
return not hiddenEvents.has_key(record.eventType)
def filter(self, record) :
return not hiddenEvents.has_key(record.eventType)
-logsdir = os.path.join(os.path.expand
vars('$HOME
'), 'minwii_logs')
+logsdir = os.path.join(os.path.expand
user('~
'), 'minwii_logs')
if not os.path.exists(logsdir) :
os.mkdir(logsdir)
if not os.path.exists(logsdir) :
os.mkdir(logsdir)