mirror of
https://github.com/internetarchive/warcprox.git
synced 2025-01-18 13:22:09 +01:00
Merge pull request #40 from vbanos/bugfix-warcfilename
Replace invalid warcfilename variable in playback
This commit is contained in:
commit
ad8c1d0658
@ -131,7 +131,7 @@ class PlaybackProxyHandler(MitmProxyHandler):
|
||||
pass
|
||||
|
||||
if errors:
|
||||
raise Exception('warc errors at {}:{} -- {}'.format(warcfilename, offset, errors))
|
||||
raise Exception('warc errors at {}:{} -- {}'.format(location['f'], offset, errors))
|
||||
|
||||
warc_type = record.get_header(warctools.WarcRecord.TYPE)
|
||||
if warc_type != warctools.WarcRecord.RESPONSE:
|
||||
|
Loading…
x
Reference in New Issue
Block a user