From 1251313f9c8c2f73119778cd3e40ebf3368a67a0 Mon Sep 17 00:00:00 2001 From: Massimo Di Pierro Date: Fri, 11 May 2012 08:28:24 -0500 Subject: [PATCH] fixed bug in recent widget commit, thanks Gyuris --- VERSION | 2 +- gluon/widget.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index adb5f49c..4c26438d 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 1.99.7 (2012-05-11 08:26:42) dev +Version 1.99.7 (2012-05-11 08:28:10) dev diff --git a/gluon/widget.py b/gluon/widget.py index c9a2999b..42e4ea2b 100644 --- a/gluon/widget.py +++ b/gluon/widget.py @@ -1000,7 +1000,7 @@ def start(cron=True): (ip, port) = (options.ip, int(options.port)) # Check for non default value for ssl inputs - if (len(self.options.ssl_certificate) > 0) or (len(self.options.ssl_private_key) > 0): + if (len(options.ssl_certificate) > 0) or (len(options.ssl_private_key) > 0): proto = 'https' else: proto = 'http'