Commit 0922aecc authored by 邱阿朋's avatar 邱阿朋

优化

parent a7b8b12c
...@@ -209,9 +209,6 @@ def main(): ...@@ -209,9 +209,6 @@ def main():
if __name__ == '__main__': if __name__ == '__main__':
try: try:
country = helper.get_input_with_default("国家", "usa") country = helper.get_input_with_default("国家", "usa")
if country is None:
raise Exception("请选择国家")
main() main()
except KeyboardInterrupt: except KeyboardInterrupt:
pass pass
......
...@@ -248,7 +248,7 @@ def handle_data(detail_datum, vendor, deduction_points): ...@@ -248,7 +248,7 @@ def handle_data(detail_datum, vendor, deduction_points):
def main(): def main():
list_data = export_list_read_data() list_data = export_list_read_data()
excel.save_xls(list_data, "回款数据.xlsx", "Remittance payments") excel.save_xls(list_data, "回款数据.xlsx", "Remittance payments")
print(f"共计:{len(list_data)} 订单") print(f"共计:{len(list_data)} 订单")
all_normal_pay_data = [] all_normal_pay_data = []
...@@ -317,9 +317,6 @@ def main(): ...@@ -317,9 +317,6 @@ def main():
if __name__ == '__main__': if __name__ == '__main__':
try: try:
country = helper.get_input_with_default("国家", "usa") country = helper.get_input_with_default("国家", "usa")
if country is None:
raise Exception("请选择国家")
main() main()
except KeyboardInterrupt: except KeyboardInterrupt:
pass pass
......
...@@ -120,9 +120,6 @@ def main(): ...@@ -120,9 +120,6 @@ def main():
if __name__ == '__main__': if __name__ == '__main__':
try: try:
country = helper.get_input_with_default("国家", "usa") country = helper.get_input_with_default("国家", "usa")
if country is None:
raise Exception("请选择国家")
main() main()
except KeyboardInterrupt: except KeyboardInterrupt:
pass pass
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment