From 9252e75923a9c0539488b909a9e877f4e59f05d2 Mon Sep 17 00:00:00 2001 From: pictuga Date: Sun, 15 Sep 2013 15:56:08 +0200 Subject: [PATCH] Ensure var in parseOptions are defined Caused a bug on morss.it's server --- morss.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/morss.py b/morss.py index 0b01694..f1c52d1 100644 --- a/morss.py +++ b/morss.py @@ -78,6 +78,9 @@ def setContent(item, txt): item.content = txt def parseOptions(): + url = '' + options = [] + if 'REQUEST_URI' in os.environ: url = os.environ['REQUEST_URI'][1:]