Skip to content

Commit

Permalink
lyrics: clear on rerequest
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffkaufman committed Jan 18, 2021
1 parent 88ea47c commit 2f46a55
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server.py
Original file line number Diff line number Diff line change
Expand Up @@ -1079,6 +1079,8 @@ def handle_post(in_json, in_data) -> Tuple[Any, str]:

state.metronome_on = False
state.leader = userid
state.lyrics = ""
sendall("lyrics", "")
clear_whole_buffer()

# Handle all operations that do not require a userid
Expand Down

0 comments on commit 2f46a55

Please sign in to comment.