Skip to content

Commit

Permalink
Swap params to match signature for replay tests and #604
Browse files Browse the repository at this point in the history
  • Loading branch information
machawk1 committed Mar 1, 2020
1 parent c43c959 commit 0cd748e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ipwb/replay.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ def showMementosForURIRs(urir):

print('Getting CDXJ Lines with the URI-R {0} from {1}'
.format(urir, indexPath))
cdxjLinesWithURIR = getCDXJLinesWithURIR(indexPath, urir)
cdxjLinesWithURIR = getCDXJLinesWithURIR(urir, indexPath)

if len(cdxjLinesWithURIR) == 1:
fields = cdxjLinesWithURIR[0].decode().split(' ', 2)
Expand Down Expand Up @@ -449,7 +449,6 @@ def showTimeMap(urir, format):
s = surt.surt(urir, path_strip_trailing_slash_unless_empty=False)
indexPath = ipwbUtils.getIPWBReplayIndexPath()

# cdxjLinesWithURIR = getCDXJLinesWithURIR(urir, indexPath)
cdxjLinesWithURIR = getCDXJLinesWithURIR(urir, indexPath)

tmContentType = ''
Expand Down

0 comments on commit 0cd748e

Please sign in to comment.