fix month count
This commit is contained in:
parent
377386df46
commit
01be5e09f9
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ def update_month(year, month, month_count, film_counts):
|
||||||
film_counts[key] = film_count
|
film_counts[key] = film_count
|
||||||
save_film_counts(film_counts)
|
save_film_counts(film_counts)
|
||||||
if days_total != month_count:
|
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:
|
else:
|
||||||
r = update_ids(year, month)
|
r = update_ids(year, month)
|
||||||
key = '%04d-%02d' % (year, month)
|
key = '%04d-%02d' % (year, month)
|
||||||
|
|
Loading…
Reference in a new issue