From aa75cacbff07875c139a50397d0074fac90f9d45 Mon Sep 17 00:00:00 2001 From: Ivan Habunek Date: Wed, 28 Dec 2022 09:21:22 +0100 Subject: [PATCH] Rename TOOT_VISIBILITY to TOOT_POST_VISIBILITY This makes it more in line with what's planned for environemnt variables in the future. --- toot/console.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toot/console.py b/toot/console.py index 82124aa..c3e2a06 100644 --- a/toot/console.py +++ b/toot/console.py @@ -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):