aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/swfinterp.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-11-17 03:53:32 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2014-11-17 03:53:32 +0100
commit0ab1ca5501108b8038090750e8455bfb5d72c443 (patch)
treed3e9019897aa39f8f8948429eda790273bef847e /youtube_dl/swfinterp.py
parent4baafa229d5e013a62d636fa60920cdc1a876a5a (diff)
[swfinterp] Better error message
Diffstat (limited to 'youtube_dl/swfinterp.py')
-rw-r--r--youtube_dl/swfinterp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/swfinterp.py b/youtube_dl/swfinterp.py
index 7c0ee1e61..58da6c586 100644
--- a/youtube_dl/swfinterp.py
+++ b/youtube_dl/swfinterp.py
@@ -564,7 +564,7 @@ class SWFInterpreter(object):
elif isinstance(pname, compat_str): # Member access
obj = stack.pop()
assert isinstance(obj, (dict, _ScopeDict)), \
- 'Accessing member on %r' % obj
+ 'Accessing member %r on %r' % (pname, obj)
stack.append(obj[pname])
else: # Assume attribute access
idx = stack.pop()