fix bug
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -614,7 +614,7 @@ class BSWorkbook(Workbook): | ... | @@ -614,7 +614,7 @@ class BSWorkbook(Workbook): |
614 | price_total_str = license_dict.get('价税合计小写') | 614 | price_total_str = license_dict.get('价税合计小写') |
615 | if rate_str is not None and price_total_str is not None: | 615 | if rate_str is not None and price_total_str is not None: |
616 | try: | 616 | try: |
617 | rate = int(rate_str) | 617 | rate = int(rate_str.rstrip('%')) |
618 | price_total = float(price_total_str) | 618 | price_total = float(price_total_str) |
619 | except Exception as e: | 619 | except Exception as e: |
620 | pass | 620 | pass | ... | ... |
-
Please register or sign in to post a comment