I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit a1a0f542 authored by dev's avatar dev
Browse files

only routerInfo-* files please

parent ccdb5b44
No related branches found
No related tags found
No related merge requests found
...@@ -33,12 +33,16 @@ def app(environ, start_response): ...@@ -33,12 +33,16 @@ def app(environ, start_response):
for i in range(100): for i in range(100):
while True: while True:
sel = choice(entries) sel = choice(entries)
if not sel.startswith('routerInfo-'):
continue
if sel not in new: if sel not in new:
new.append(sel) new.append(sel)
break break
entries = new entries = new
res = '' res = ''
for entry in entries: for entry in entries:
if not entry.startswith('routerInfo-'):
continue
res += '<li><a href="%s">%s</a></li>' % (entry, entry) res += '<li><a href="%s">%s</a></li>' % (entry, entry)
resp = Response(page % res, mimetype='text/html') resp = Response(page % res, mimetype='text/html')
elif path == 'robots.txt': elif path == 'robots.txt':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment