diff options
author | Trygve Aaberge <trygveaa@gmail.com> | 2023-12-14 15:06:41 +0100 |
---|---|---|
committer | Trygve Aaberge <trygveaa@gmail.com> | 2024-02-18 11:32:54 +0100 |
commit | 57ad5138dc9bb5aa85ae4f58ee022f2ea2003b5d (patch) | |
tree | abba0fe0258afb1fcbf88e3b7eb656a8ae677cb2 /slack/slack_api.py | |
parent | 71883e46b99a46e297a790fed59d27f1b85c92a5 (diff) | |
download | wee-slack-57ad5138dc9bb5aa85ae4f58ee022f2ea2003b5d.tar.gz |
Set options value to True if it's set without a value
It became very confusing to use None to represent it being set without a
value, so use True instead. If it has a value it will always be a
string, so you can still distinguish between an option without a value
and an option with a truthy value.
Diffstat (limited to 'slack/slack_api.py')
0 files changed, 0 insertions, 0 deletions