瀏覽代碼

Fix date=due problem

master
Pavel Šimerda 8 年之前
父節點
當前提交
b85b44547b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      lib/invoice/db/invoices.py

+ 1
- 1
lib/invoice/db/invoices.py 查看文件

@@ -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…
取消
儲存