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:
parent
e07be634f6
commit
aa75cacbff
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user