changeset 54:64f3e3a28bd4

Fix calling super in ConversionErrorResponse class
author Björn Ricks <bjoern.ricks@intevation.de>
date Mon, 03 Nov 2014 15:15:39 +0100
parents 88a62b0ec3b1
children b60f56ac7923
files odfcast/convert.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/odfcast/convert.py	Mon Nov 03 12:13:59 2014 +0100
+++ b/odfcast/convert.py	Mon Nov 03 15:15:39 2014 +0100
@@ -90,7 +90,7 @@
     CONVERSION_ERROR_CODE = 200
 
     def __init__(self, details, error_code=CONVERSION_ERROR_CODE):
-        super(TemplateErrorResponse, self).__init__(
+        super(ConversionErrorResponse, self).__init__(
             title="ConversionError", error_code=error_code, details=details,
             html_error_code=500)
 
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)