fix month count

This commit is contained in:
j 2019-11-21 08:31:25 +01:00
parent 377386df46
commit 01be5e09f9
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ def update_month(year, month, month_count, film_counts):
film_counts[key] = film_count
save_film_counts(film_counts)
if days_total != month_count:
print('!! month and days don\'t add up: %s month vs %s days total' % (month_total, days_total))
print('!! month and days don\'t add up: %s month vs %s days total' % (month_count, days_total))
else:
r = update_ids(year, month)
key = '%04d-%02d' % (year, month)