aboutsummaryrefslogtreecommitdiff
path: root/yt_dlp/extractor/ustream.py
diff options
context:
space:
mode:
Diffstat (limited to 'yt_dlp/extractor/ustream.py')
-rw-r--r--yt_dlp/extractor/ustream.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/ustream.py b/yt_dlp/extractor/ustream.py
index 33cf8f454..0fdf8f748 100644
--- a/yt_dlp/extractor/ustream.py
+++ b/yt_dlp/extractor/ustream.py
@@ -73,7 +73,7 @@ class UstreamIE(InfoExtractor):
def num_to_hex(n):
return hex(n)[2:]
- rnd = random.randrange
+ rnd = lambda x: random.randrange(int(x))
if not extra_note:
extra_note = ''