Przeglądaj źródła

Fix broken “due” date.

master
Pavel Šimerda 8 lat temu
rodzic
commit
252419cfef
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      lib/invoice/db/invoices.py

+ 1
- 1
lib/invoice/db/invoices.py Wyświetl plik

@@ -97,7 +97,7 @@ class InvoiceData(Data):

def _postprocess_dates(self):
date = self._parse_date(self._item.date)
if "due" in self._data:
if self.due:
try:
due = self._parse_date(self.due)
except ValueError:


Ładowanie…
Anuluj
Zapisz