mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-18 23:42:59 +00:00
Merge pull request #1829 from rkdarst/cull_idle_py36
cull_idle_servers.py: py<3.6 compatibility
This commit is contained in:
@@ -75,7 +75,7 @@ def format_td(td):
|
|||||||
seconds = seconds % 3600
|
seconds = seconds % 3600
|
||||||
m = seconds // 60
|
m = seconds // 60
|
||||||
seconds = seconds % 60
|
seconds = seconds % 60
|
||||||
return f"{h:02}:{m:02}:{seconds:02}"
|
return "{h:02}:{m:02}:{seconds:02}".format(h=h, m=m, seconds=seconds)
|
||||||
|
|
||||||
|
|
||||||
@coroutine
|
@coroutine
|
||||||
|
Reference in New Issue
Block a user