From 55febbe163f599aa18f05adaea958b808c138803 Mon Sep 17 00:00:00 2001 From: "WQY\\qiong" Date: Thu, 9 Mar 2023 22:56:43 +0800 Subject: [PATCH] Remove redundant char --- api/s13_controls.py | 2 +- api/s14_rules.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/s13_controls.py b/api/s13_controls.py index c51c8e4..42810b7 100644 --- a/api/s13_controls.py +++ b/api/s13_controls.py @@ -50,7 +50,7 @@ def inp_in_control(section: list[str]) -> ChangeSet: def inp_in_control_new(name: str, section: list[str]) -> None: for line in section: - write(name, f"\ninsert into controls (line) values ('{line}');") + write(name, f"insert into controls (line) values ('{line}');") def inp_out_control(name: str) -> list[str]: diff --git a/api/s14_rules.py b/api/s14_rules.py index 039ea01..69e2562 100644 --- a/api/s14_rules.py +++ b/api/s14_rules.py @@ -46,7 +46,7 @@ def inp_in_rule(section: list[str]) -> ChangeSet: def inp_in_rule_new(name: str, section: list[str]) -> None: for line in section: - write(name, f"\ninsert into rules (line) values ('{line}');") + write(name, f"insert into rules (line) values ('{line}');") def inp_out_rule(name: str) -> list[str]: