X-Git-Url: https://scm.cri.mines-paristech.fr/git/minwii.git/blobdiff_plain/899a6365838f7a7c1427676277ef72c934c1d1bb..3349512a69489bc7679799d05f21fb11abaec90d:/src/app/log.py?ds=sidebyside diff --git a/src/app/log.py b/src/app/log.py index 725abac..3cffbb3 100755 --- a/src/app/log.py +++ b/src/app/log.py @@ -13,7 +13,7 @@ import pygame import logging import os import datetime -LOG_FORMAT_VERSION='1.0-alpha' +LOG_FORMAT_VERSION='1.0' hiddenEvents = {pygame.MOUSEMOTION:True, pygame.MOUSEBUTTONDOWN:True, @@ -26,9 +26,6 @@ logsdir = os.path.join(os.path.expanduser('~'), 'minwii_logs') if not os.path.exists(logsdir) : os.mkdir(logsdir) -#logfile = os.path.join(logsdir, datetime.datetime.now().strftime('%Y-%m-%d-%H_%M_%S.log')) -#logfile = open(logfile, 'w') - class MinWiiStreamHandler(logging.StreamHandler) : logfile = None