1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2025-06-25 04:46:20 +00:00

Compare commits

..

1 Commits

Author SHA1 Message Date
Álvaro Mondéjar Rubio
408eb5bdd0
Merge 8f6a09b9213808a5698ec52d025ac955ba16cab6 into 4e714f9df1ed2cccd51df60d45ff5504abe827b7 2025-03-26 23:22:15 +08:00

View File

@ -686,8 +686,6 @@ class JSInterpreter(object):
raise self.Exception('Cannot get index {idx!r:.100}'.format(**locals()), expr=repr(obj), cause=e)
def _dump(self, obj, namespace):
if obj is JS_Undefined:
return 'undefined'
try:
return json.dumps(obj)
except TypeError: