mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-05 07:44:16 -04:00
Fix some DETECTED VIOLATIONS in the config file (#7550)
consistency ftw
This commit is contained in:
parent
d1ae1015ec
commit
66a564c859
8 changed files with 72 additions and 55 deletions
|
@ -93,10 +93,11 @@ class MetricsConfig(Config):
|
|||
#known_servers: true
|
||||
|
||||
# Whether or not to report anonymized homeserver usage statistics.
|
||||
#
|
||||
"""
|
||||
|
||||
if report_stats is None:
|
||||
res += "# report_stats: true|false\n"
|
||||
res += "#report_stats: true|false\n"
|
||||
else:
|
||||
res += "report_stats: %s\n" % ("true" if report_stats else "false")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue