From 42c5d09ccbdd9402c952cecd8a8aa5682ab517bd Mon Sep 17 00:00:00 2001 From: pictuga Date: Sat, 21 Mar 2020 23:07:07 +0100 Subject: [PATCH] morss: split "options" var into "raw_options" & "options" To make it clearer who-is-what --- morss/morss.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/morss/morss.py b/morss/morss.py index db6637a..f34fec4 100644 --- a/morss/morss.py +++ b/morss/morss.py @@ -499,7 +499,7 @@ def cgi_app(environ, start_response): if url.startswith(':'): split = url.split('/', 1) - options = split[0].replace('|', '/').replace('\\\'', '\'').split(':')[1:] + raw_options = split[0].replace('|', '/').replace('\\\'', '\'').split(':')[1:] if len(split) > 1: url = split[1] @@ -507,10 +507,10 @@ def cgi_app(environ, start_response): url = '' else: - options = [] + raw_options = [] # init - options = Options(filterOptions(parseOptions(options))) + options = Options(filterOptions(parseOptions(raw_options))) headers = {} global DEBUG