lint: Fix % comprehensions being used without a tuple.

This commit is contained in:
Tim Abbott
2017-01-09 11:45:11 -08:00
parent 494c1a2b55
commit 3f8d4193da
9 changed files with 13 additions and 11 deletions

View File

@@ -143,7 +143,7 @@ def send_reminders():
key = (id, start)
if key not in sent:
if start.hour == 0 and start.minute == 0:
line = '%s is today.' % (summary)
line = '%s is today.' % (summary,)
else:
line = '%s starts at %s' % (summary, start.strftime('%H:%M'))
print('Sending reminder:', line)