fix cut2 return

This commit is contained in:
KamioRinn 2024-01-26 22:43:20 +08:00
parent 147eed00d9
commit b3a4074d17

View File

@ -424,7 +424,7 @@ def cut2(inp):
inp = inp.strip("\n") inp = inp.strip("\n")
inps = split(inp) inps = split(inp)
if len(inps) < 2: if len(inps) < 2:
return [inp] return "\n".join([inp])
opts = [] opts = []
summ = 0 summ = 0
tmp_str = "" tmp_str = ""