Merge pull request #1829 from rkdarst/cull_idle_py36

cull_idle_servers.py: py<3.6 compatibility
This commit is contained in:
Min RK
2018-04-26 14:42:24 +02:00
committed by GitHub

View File

@@ -75,7 +75,7 @@ def format_td(td):
seconds = seconds % 3600
m = 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