Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Open sidebar
Sublime Music
Sublime Music
Commits
04cf4300
Verified
Commit
04cf4300
authored
Feb 20, 2020
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
sublime/server/server.py
sublime/server/server.py
+1
-1
No files found.
sublime/server/server.py
View file @
04cf4300
...
...
@@ -100,7 +100,7 @@ class Server:
logging
.
info
(
"SUBLIME_MUSIC_DEBUG_DELAY enabled. Pausing for "
f
"
{
os
.
environ
[
'SUBLIME_MUSIC_DEBUG_DELAY'
]
}
seconds."
)
sleep
(
in
t
(
os
.
environ
[
'SUBLIME_MUSIC_DEBUG_DELAY'
]))
sleep
(
floa
t
(
os
.
environ
[
'SUBLIME_MUSIC_DEBUG_DELAY'
]))
# Deal with datetime parameters (convert to milliseconds since 1970)
for
k
,
v
in
params
.
items
():
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment