Rename TOOT_VISIBILITY to TOOT_POST_VISIBILITY

This makes it more in line with what's planned for environemnt
variables in the future.
This commit is contained in:
Ivan Habunek 2022-12-28 09:21:22 +01:00
parent e07be634f6
commit aa75cacbff
No known key found for this signature in database
GPG Key ID: F5F0623FF5EBCB3D
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ VISIBILITY_CHOICES = ['public', 'unlisted', 'private', 'direct']
def get_default_visibility():
return os.getenv("TOOT_VISIBILITY", "public")
return os.getenv("TOOT_POST_VISIBILITY", "public")
def language(value):