diff --git a/management/commands/import_transaction.py b/management/commands/import_transaction.py index 4f75acd..e5ad4ba 100644 --- a/management/commands/import_transaction.py +++ b/management/commands/import_transaction.py @@ -53,8 +53,8 @@ CT = { def get_date_end(date_start): date_end = copy.deepcopy(date_start) - if date_start.month > 8: - date_end = date_start.replace(year=date_start.year+1) + if date_start.month >= 8: + date_end = date_start.replace(year=date_start.year + 1) date_end = date_end.replace(month=9, day=30) return date_end