projects
/
minwii.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ajout try/except pour ne pas planter quand une parole est manquante.
[minwii.git]
/
src
/
minwii
/
log.py
diff --git
a/src/minwii/log.py
b/src/minwii/log.py
index
abbb858
..
9e40e01
100755
(executable)
--- a/
src/minwii/log.py
+++ b/
src/minwii/log.py
@@
-13,6
+13,7
@@
import pygame
import logging
import os
import datetime
import logging
import os
import datetime
+from config import LOGS_DIR as logsdir
LOG_FORMAT_VERSION='1.0'
hiddenEvents = {pygame.MOUSEMOTION:True,
LOG_FORMAT_VERSION='1.0'
hiddenEvents = {pygame.MOUSEMOTION:True,
@@
-21,7
+22,6
@@
hiddenEvents = {pygame.MOUSEMOTION:True,
#COLOVER:True,
}
#COLOVER:True,
}
-logsdir = os.path.join(os.path.expanduser('~'), 'minwii_logs')
if not os.path.exists(logsdir) :
os.mkdir(logsdir)
if not os.path.exists(logsdir) :
os.mkdir(logsdir)