import logging
import os
import datetime
+LOG_FORMAT_VERSION='1.0-alpha'
hiddenEvents = {pygame.MOUSEMOTION:True,
pygame.MOUSEBUTTONDOWN:True,
def filter(self, record) :
return not hiddenEvents.has_key(record.eventType)
-logsdir = os.path.join(os.path.expandvars('$HOME'), 'minwii_logs')
+logsdir = os.path.join(os.path.expanduser('~'), 'minwii_logs')
if not os.path.exists(logsdir) :
os.mkdir(logsdir)