Show More
@@ -134,7 +134,8 b' class requestcontext(object):' | |||||
134 |
|
134 | |||
135 | def archivelist(self, nodeid): |
|
135 | def archivelist(self, nodeid): | |
136 | allowed = self.configlist('web', 'allow_archive') |
|
136 | allowed = self.configlist('web', 'allow_archive') | |
137 |
for typ |
|
137 | for typ in self.archives: | |
|
138 | spec = self.archivespecs[typ] | |||
138 | if typ in allowed or self.configbool('web', 'allow%s' % typ): |
|
139 | if typ in allowed or self.configbool('web', 'allow%s' % typ): | |
139 | yield {'type': typ, 'extension': spec[2], 'node': nodeid} |
|
140 | yield {'type': typ, 'extension': spec[2], 'node': nodeid} | |
140 |
|
141 |
General Comments 0
You need to be logged in to leave comments.
Login now