diff --git a/mynumbercard_data/converter.py b/mynumbercard_data/converter.py index f29ab807..ce788a11 100644 --- a/mynumbercard_data/converter.py +++ b/mynumbercard_data/converter.py @@ -260,6 +260,7 @@ def _convert(self, _list: list) -> list: ["","男","女","計","男","女","計","男","女","計","男","女","計"] という2段組になってしまっているので、ヘッダを一行にして、(*時点)の部分を抜き出して最終列に加える処理を行う """ + _list = StringUtil.fix_numberfield_error(_list, 1, 13, [0, 1]) population_ymd = StringUtil.extract_date_from_header( self._list[0][1]).strftime('%Y/%m/%d') card_ymd = StringUtil.extract_date_from_header(