mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-07-28 13:53:28 +02:00
fix bad formatting of family string
This commit is contained in:
@@ -45,8 +45,7 @@ class FamilyFileGeneratorInMemory(generate_family_file.FamilyFileGenerator):
|
|||||||
|
|
||||||
if any(x not in generate_family_file.NAME_CHARACTERS for x in name):
|
if any(x not in generate_family_file.NAME_CHARACTERS for x in name):
|
||||||
raise ValueError(
|
raise ValueError(
|
||||||
'ERROR: Name of family "{}" must be ASCII letters and digits [a-zA-Z0-9]',
|
f'ERROR: Name of family "{name}" must be ASCII letters and digits [a-zA-Z0-9]',
|
||||||
name,
|
|
||||||
)
|
)
|
||||||
|
|
||||||
if isinstance(dointerwiki, bool):
|
if isinstance(dointerwiki, bool):
|
||||||
|
Reference in New Issue
Block a user