Mercurial > traipse_dev
diff orpg/tools/orpg_log.py @ 15:cab94a90f9dc traipse_dev
Added 1.8.0 fix to log. Fixed problem with images that do not load the first
time. Problem was in the fetching dict. del path instead.
author | sirebral |
---|---|
date | Tue, 21 Jul 2009 02:34:21 -0500 |
parents | 4385a7d0efd1 |
children | c54768cffbd4 |
line wrap: on
line diff
--- a/orpg/tools/orpg_log.py Mon Jul 20 21:25:13 2009 -0500 +++ b/orpg/tools/orpg_log.py Tue Jul 21 02:34:21 2009 -0500 @@ -38,8 +38,7 @@ if self.logToConsol or to_consol or type == ORPG_CRITICAL: print msg - if type & self.logLevel: - #if type & self.logLevel or to_consol: #Arbitrary removal TaS. + if type & self.logLevel or to_consol: logMsg = time.strftime( '[%x %X] ', time.localtime( time.time() ) ) + msg + "\n" logFile = open(self.logName, "a") logFile.write(logMsg)