From bcd37e8976398b79ebc47894323e67abeba6b99e Mon Sep 17 00:00:00 2001 From: colons Date: Tue, 7 Nov 2023 13:43:34 +0000 Subject: [PATCH] Make this comment actionable. --- .../apps/vote/management/commands/update_mastodon_instances.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nkdsu/apps/vote/management/commands/update_mastodon_instances.py b/nkdsu/apps/vote/management/commands/update_mastodon_instances.py index b38c5a6b..2cf50756 100644 --- a/nkdsu/apps/vote/management/commands/update_mastodon_instances.py +++ b/nkdsu/apps/vote/management/commands/update_mastodon_instances.py @@ -21,7 +21,8 @@ def write_instances(self, instances: list[str]) -> None: with open(module_path, 'wt') as f: f.write( - "# this file is populated by running `python manage.py update_mastodon_instances`\n\n" + "# this file is populated by running `python manage.py update_mastodon_instances`\n" + "# do not edit it by hand\n\n" ) f.write(f"MASTODON_INSTANCES: set[str] = {{ {', '.join((repr(i) for i in instances))} }}")