Remove usage of app.get_designated_import_handler()
This commit is contained in:
parent
7b7eee92cd
commit
94883c1433
|
@ -167,7 +167,7 @@ class ImportingView(MasterView):
|
||||||
"""
|
"""
|
||||||
key = self.request.matchdict['key']
|
key = self.request.matchdict['key']
|
||||||
app = self.get_rattail_app()
|
app = self.get_rattail_app()
|
||||||
handler = app.get_designated_import_handler(key, ignore_errors=True)
|
handler = app.get_import_handler(key, ignore_errors=True)
|
||||||
if handler:
|
if handler:
|
||||||
return self.normalize(handler)
|
return self.normalize(handler)
|
||||||
raise self.notfound()
|
raise self.notfound()
|
||||||
|
|
Loading…
Reference in a new issue