MCPcopy Create free account
hub / github.com/ActiveState/code / retNextFile

Method retNextFile

recipes/Python/271246_pyAlbumpy/recipe-271246.py:58–63  ·  view source on GitHub ↗
(self, index)

Source from the content-addressed store, hash-verified

56 return str
57
58 def retNextFile(self, index):
59 if(index == len(self.files) - 1):
60 return "<span class=\"no_go\"><b>No Next</b> &raquo;</span>"
61 else:
62 str = """<a href="%s">Next</a> &raquo;""" % (self.slideName + self.files[self.count + 1] + '.htm')
63 return str
64
65 def retPipe(self, index):
66 return " | "

Callers 1

createHTMLsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected