From 16ea8462c8a1a2c03d4ac5a821afd4ba245cc3a6 Mon Sep 17 00:00:00 2001 From: mdipierro Date: Thu, 16 Aug 2012 09:38:47 -0500 Subject: [PATCH] fixed another SQLFORM.formstyles, thanks Anthony --- VERSION | 2 +- gluon/sqlhtml.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 022297e6..e1215964 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.00.0 (2012-08-15 17:30:38) dev +Version 2.00.0 (2012-08-16 09:38:42) dev diff --git a/gluon/sqlhtml.py b/gluon/sqlhtml.py index fd3f3d3d..d3cbf256 100644 --- a/gluon/sqlhtml.py +++ b/gluon/sqlhtml.py @@ -1079,7 +1079,7 @@ class SQLFORM(FORM): def createform(self, xfields): if isinstance(self.formstyle, basestring): - if self.formstyle in self.formstyles: + if self.formstyle in SQLFORM.formstyles: self.formstyle = SQLFORM.formstyles[self.formstyle] else: raise RuntimeError, 'formstyle not found'