Type annotation, linter fixes and cleanup
This commit is contained in:
@@ -1,9 +1,5 @@
|
||||
from functools import wraps
|
||||
from urllib.parse import urlsplit, urlunsplit, parse_qs, urlencode
|
||||
import threading
|
||||
import youtube_dl
|
||||
|
||||
class Namespace(object): pass
|
||||
|
||||
def seconds_to_timestamp(s):
|
||||
return "%i:%.2i" % (s//60, s%60)
|
||||
|
||||
Reference in New Issue
Block a user