Commit 8fa0d3c2 authored by Ralf's avatar Ralf
Browse files

silence sphinx a bit

parent 82c945d5
......@@ -12,7 +12,7 @@ def play_sound (what):
return
soundfile = SOUNDS_DIRECTORY + what + '/' + random.choice(soundfiles)
hour = datetime.datetime.time(datetime.datetime.now()).hour
volume = 60 if hour >= 22 or hour <= 6 else 95
volume = 60 if hour >= 22 or hour <= 6 else 90
fire_and_forget_cmd ([SOUNDS_PLAYER, "-volume", str(volume), soundfile], "StateMachine: ")
# convert an absolute nervlist to a relative one
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment