aboutsummaryrefslogtreecommitdiff
path: root/cgi
diff options
context:
space:
mode:
authorLibravatar root 2019-04-02 16:12:51 +0000
committerLibravatar root 2019-04-02 16:12:51 +0000
commit8c5281cea797d2004087adf7642c5b8447e1b5f9 (patch)
treedc93ff613be4b4b331b076d8e465cffb0324ed1f /cgi
parentf7c934a09d1a1b6c9a7428a1f8c21e6f47c7a29e (diff)
downloadweabot-8c5281cea797d2004087adf7642c5b8447e1b5f9.tar.gz
weabot-8c5281cea797d2004087adf7642c5b8447e1b5f9.tar.xz
weabot-8c5281cea797d2004087adf7642c5b8447e1b5f9.zip
Este parĂ¡metro no viene en todos los casos.
Diffstat (limited to 'cgi')
-rwxr-xr-xcgi/weabot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgi/weabot.py b/cgi/weabot.py
index 5757df2..f5451d9 100755
--- a/cgi/weabot.py
+++ b/cgi/weabot.py
@@ -39,7 +39,7 @@ class weabot(object):
self.start = start_response
- if self.environ["QUERY_STRING"] != "rawpost":
+ if self.environ.get("QUERY_STRING") != "rawpost":
self.formdata = getFormData(self)
self.output = ""