Skip to content

Commit

Permalink
https://github.com/ytdl-org/youtube-dl/pull/32845#discussion_r1673153753
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkf committed Jul 10, 2024
1 parent af37fdd commit e3ec96c
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions youtube_dl/jsinterp.py
Original file line number Diff line number Diff line change
Expand Up @@ -900,12 +900,6 @@ def eval_method(variable, member):
else:
raise self.Exception('Unsupported Function method ' + func_prototype, expr)
member = new_member
if False and isinstance(obj, type):
prototype = member.split('.')
if len(prototype) == 3 and prototype[0::2] == ['prototype', 'call']:
assertion(len(argvals) > 0, 'needs an instance')
obj = argvals.pop(0)
member = prototype[1]

if obj is compat_str:
if member == 'fromCharCode':
Expand Down

0 comments on commit e3ec96c

Please sign in to comment.