Show More
@@ -1034,7 +1034,7 b' def archive(web, req, tmpl):' | |||||
1034 | allowed = web.configlist("web", "allow_archive") |
|
1034 | allowed = web.configlist("web", "allow_archive") | |
1035 | key = req.form['node'][0] |
|
1035 | key = req.form['node'][0] | |
1036 |
|
1036 | |||
1037 | if type_ not in web.archives: |
|
1037 | if type_ not in web.archivespecs: | |
1038 | msg = 'Unsupported archive type: %s' % type_ |
|
1038 | msg = 'Unsupported archive type: %s' % type_ | |
1039 | raise ErrorResponse(HTTP_NOT_FOUND, msg) |
|
1039 | raise ErrorResponse(HTTP_NOT_FOUND, msg) | |
1040 |
|
1040 |
General Comments 0
You need to be logged in to leave comments.
Login now