From f7b5922fd918012add7962651abca5f83e135b09 Mon Sep 17 00:00:00 2001 From: mdipierro Date: Fri, 28 Sep 2012 09:25:27 -0500 Subject: [PATCH] fixed issue 1040 --- VERSION | 2 +- gluon/widget.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 64512400..1d6e8fc9 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.0.9 (2012-09-28 09:20:55) dev +Version 2.0.9 (2012-09-28 09:25:21) dev diff --git a/gluon/widget.py b/gluon/widget.py index 670583ed..241e9fff 100644 --- a/gluon/widget.py +++ b/gluon/widget.py @@ -980,7 +980,7 @@ def start_schedulers(options): apps = options.scheduler_groups code = "from gluon import current;current._scheduler.loop()" logging.getLogger().setLevel(options.debuglevel) - if len(apps) == 1: + if len(apps) == 1 and not options.with_scheduler: app_, code = get_code_for_scheduler(apps[0], options) if not app_: return