changeset 32:e6f2f1481de2

Fix we must check the fformat variable
author Björn Ricks <bjoern.ricks@intevation.de>
date Thu, 16 Oct 2014 11:35:47 +0200
parents 83bca7dc9bfe
children 00e12392f8d4
files odfcast/convert.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/odfcast/convert.py	Thu Oct 16 11:35:19 2014 +0200
+++ b/odfcast/convert.py	Thu Oct 16 11:35:47 2014 +0200
@@ -65,7 +65,7 @@
             except:
                 return "Template error", 500
 
-        if format != "odt":
+        if fformat != "odt":
             try:
                 outfile = self.convert(outfile, fformat)
             except:
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)