Type annotation, linter fixes and cleanup

This commit is contained in:
2022-02-20 00:21:55 +01:00
parent f371f5795c
commit d5750e69fa
4 changed files with 21 additions and 26 deletions

View File

@@ -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)