mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 02:00:11 -08:00
fix #407
This commit is contained in:
parent
236f8fa9fd
commit
3c267d1000
1 changed files with 3 additions and 3 deletions
|
|
@ -97,7 +97,7 @@ if __name__ == '__main__':
|
||||||
|
|
||||||
matches = re.findall(r'\`([^\`]+)\`', content)
|
matches = re.findall(r'\`([^\`]+)\`', content)
|
||||||
for match in matches:
|
for match in matches:
|
||||||
if '\n' in match and match not in help_strings:
|
if match not in help_strings:
|
||||||
help_strings.append(match)
|
help_strings.append(match)
|
||||||
|
|
||||||
print("nickserv help strings:", len(help_strings))
|
print("nickserv help strings:", len(help_strings))
|
||||||
|
|
@ -120,7 +120,7 @@ if __name__ == '__main__':
|
||||||
|
|
||||||
matches = re.findall(r'\`([^\`]+)\`', content)
|
matches = re.findall(r'\`([^\`]+)\`', content)
|
||||||
for match in matches:
|
for match in matches:
|
||||||
if '\n' in match and match not in help_strings:
|
if match not in help_strings:
|
||||||
help_strings.append(match)
|
help_strings.append(match)
|
||||||
|
|
||||||
print("chanserv help strings:", len(help_strings))
|
print("chanserv help strings:", len(help_strings))
|
||||||
|
|
@ -143,7 +143,7 @@ if __name__ == '__main__':
|
||||||
|
|
||||||
matches = re.findall(r'\`([^\`]+)\`', content)
|
matches = re.findall(r'\`([^\`]+)\`', content)
|
||||||
for match in matches:
|
for match in matches:
|
||||||
if '\n' in match and match not in help_strings:
|
if match not in help_strings:
|
||||||
help_strings.append(match)
|
help_strings.append(match)
|
||||||
|
|
||||||
print("hostserv help strings:", len(help_strings))
|
print("hostserv help strings:", len(help_strings))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue