From 98026d109e97fdcaf68c26e64cf27ac4b88688e8 Mon Sep 17 00:00:00 2001 From: Shy Date: Sat, 16 Mar 2024 18:37:57 +0100 Subject: [PATCH] Comment out rgb/bell by default. --- c4ctrl.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/c4ctrl.py b/c4ctrl.py index 232f397..73a388c 100755 --- a/c4ctrl.py +++ b/c4ctrl.py @@ -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))