Skip to content

Commit 64a6cc8

Browse files
committed
...
1 parent deda7bd commit 64a6cc8

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

mediaplayer/mediaplayer.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,9 @@ def hhmmss(ms):
1111
# s = 1000
1212
# m = 60000
1313
# h = 360000
14-
print(ms)
1514
s = round(ms / 1000)
1615
m, s = divmod(s, 60)
1716
h, m = divmod(m, 60)
18-
print(h, m, s)
1917
return ("%d:%02d:%02d" % (h, m, s)) if h else ("%d:%02d" % (m, s))
2018

2119

0 commit comments

Comments
 (0)