Verified Commit 04cf4300 authored by Sumner Evans's avatar Sumner Evans 💬
Browse files

Allow floating point values for SUBLIME_MUSIC_DEBUG_DELAY

parent ba98f124
Pipeline #119792921 passed with stages
in 11 minutes and 38 seconds
......@@ -100,7 +100,7 @@ class Server:
logging.info(
"SUBLIME_MUSIC_DEBUG_DELAY enabled. Pausing for "
f"{os.environ['SUBLIME_MUSIC_DEBUG_DELAY']} seconds.")
sleep(int(os.environ['SUBLIME_MUSIC_DEBUG_DELAY']))
sleep(float(os.environ['SUBLIME_MUSIC_DEBUG_DELAY']))
# Deal with datetime parameters (convert to milliseconds since 1970)
for k, v in params.items():
......
Markdown is supported
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