mirror of
https://github.com/ergochat/ergo.git
synced 2025-02-16 13:40:48 +01:00
fix #407
This commit is contained in:
parent
236f8fa9fd
commit
3c267d1000
@ -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…
x
Reference in New Issue
Block a user