diff odfcast/convert.py @ 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 e99cbb47eafb
children 423f99732a80
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)