diff --git a/VERSION b/VERSION index b41936d3..44f24bcb 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.6.3-stable+timestamp.2013.09.19.18.25.38 +Version 2.6.3-stable+timestamp.2013.09.19.18.31.43 diff --git a/gluon/globals.py b/gluon/globals.py index 52a3fe6f..ff9906ec 100644 --- a/gluon/globals.py +++ b/gluon/globals.py @@ -332,7 +332,7 @@ class Request(Storage): if not rest_action: raise HTTP(400, "method not supported") try: - return rest_action(*_self.args, **_self.vars) + return rest_action(*_self.args, **getattr(_self,'vars',{})) except TypeError, e: exc_type, exc_value, exc_traceback = sys.exc_info() if len(traceback.extract_tb(exc_traceback)) == 1: