Procházet zdrojové kódy

Fix date=due problem

master
Pavel Šimerda před 8 roky
rodič
revize
b85b44547b
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. +1
    -1
      lib/invoice/db/invoices.py

+ 1
- 1
lib/invoice/db/invoices.py Zobrazit soubor

@@ -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()))


Načítá se…
Zrušit
Uložit