Sfoglia il codice sorgente

Fix date=due problem

master
Pavel Šimerda 8 anni fa
parent
commit
b85b44547b
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      lib/invoice/db/invoices.py

+ 1
- 1
lib/invoice/db/invoices.py Vedi File

@@ -66,7 +66,7 @@ class InvoiceData(Data):
_number_template = "{year}{number:03}"

def _parse_date(self, date):
match = self._date_regex.match(self.date)
match = self._date_regex.match(date)
if not match:
raise ValueError("Bad date format: {}".format(date))
log.debug("Date match: {0}".format(match.groups()))


Loading…
Annulla
Salva