]> git.lyx.org Git - features.git/blobdiff - lib/lyx2lyx/LyX.py
Unify calling conventions for converter functions and modules. (lyx2lyx)
[features.git] / lib / lyx2lyx / LyX.py
index 4f7da0333298e7a469b84899dd9733c236c055df..b08fce2abd03753a3d84e1c4c2a2f10276d1c917 100644 (file)
@@ -243,7 +243,7 @@ class LyX_Base:
     def set_format(self):
         " Set the file format of the file, in the header."
         if self.format <= 217:
-            format = str(float(format)/100)
+            format = str(float(self.format)/100)
         else:
             format = str(self.format)
         i = find_token(self.header, "\\lyxformat", 0)