Change "THOMAS" print statement to logger.debug() call

I left the "THOMAS" part in for now, but this seems more like a debug
message than a user facing message to me—but it was also obviously
something @thomasvs left in for himself, so maybe the whole if clause
has no reason to still be there and should just get removed.
This commit is contained in:
Frederik “Freso” S. Olesen
2017-05-19 19:07:16 +02:00
parent 52731e97c0
commit b4539d1f80

View File

@@ -121,8 +121,9 @@ class ProgressParser:
def _parse_read(self, wordOffset):
if wordOffset % common.WORDS_PER_FRAME != 0:
print 'THOMAS: not a multiple of %d: %d' % (
common.WORDS_PER_FRAME, wordOffset)
logger.debug(
'THOMAS: not a multiple of %d: %d' % (
common.WORDS_PER_FRAME, wordOffset))
return
frameOffset = wordOffset / common.WORDS_PER_FRAME