Comment out rgb/bell by default.
This commit is contained in:
parent
3b00744568
commit
98026d109e
1 changed files with 3 additions and 0 deletions
|
@ -1095,6 +1095,9 @@ is reserved. Please choose a different one.".format(name))
|
|||
# Comment out master, as it would override everything else.
|
||||
if self._topic_is_master(r.topic):
|
||||
fd.write("#{} = {}\n".format(topic, color))
|
||||
# Also comment out rgb/bell, as it should not usually be set manually.
|
||||
elif r.topic == "rgb/bell":
|
||||
fd.write("# Set automatically when club status changes.\n#{} = {}\n".format(topic, color))
|
||||
else:
|
||||
fd.write("{} = {}\n".format(topic, color))
|
||||
|
||||
|
|
Loading…
Reference in a new issue