mirror of
https://github.com/xming521/WeClone.git
synced 2026-08-28 18:07:28 +08:00
refactor: unifies combined content separator
Consolidates the separator for combined content to a newline character, removing language-specific branching. This simplifies the logic and ensures consistency across different languages.
This commit is contained in:
@@ -422,10 +422,7 @@ class DataProcessor:
|
||||
",",
|
||||
",",
|
||||
]:
|
||||
if self.c.language == LanguageType.ZH:
|
||||
combined_content += ","
|
||||
else:
|
||||
combined_content += "|"
|
||||
combined_content += "\n"
|
||||
|
||||
if i.modality == DataModality.IMAGE:
|
||||
combined_src_list.append(i.src)
|
||||
|
||||
Reference in New Issue
Block a user