Bedre variabelnavn

This commit is contained in:
2022-04-07 20:59:58 +02:00
parent c717f723b6
commit 6df94a2f0d
2 changed files with 21 additions and 21 deletions

View File

@@ -23,13 +23,13 @@ class MtrLogFormatter:
'"%s"' % datetime_extracted.strftime('%d.%m.%y %H:%M:%S.000'))
log_line.append(
'"%02d.%02d.%02d %02d:%02d:%02d.%03d"' % (
msg.timestamp_day(),
msg.timestamp_month(),
msg.timestamp_year(),
msg.timestamp_hours(),
msg.timestamp_minutes(),
msg.timestamp_seconds(),
msg.timestamp_milliseconds()))
msg.day(),
msg.month(),
msg.year(),
msg.hours(),
msg.minutes(),
msg.seconds(),
msg.milliseconds()))
log_line.append('%06d' % msg.card_id())
log_line.append('%04d' % 0) # skipped product week
log_line.append('%04d' % 0) # skipped product year