1
0
mirror of https://github.com/ihabunek/toot.git synced 2024-11-03 04:17:21 -05:00

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

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):