gopherbay

A Gopher interface to The Pirate Bay
git clone https://git.parazyd.org/gopherbay
Log | Files | Refs | README

commit b90d9097ceffc36dc1381b86c24da8d3bfe39eed
parent e8881ee73c40ae137ecb50a3430e15ca62ff04d2
Author: parazyd <parazyd@dyne.org>
Date:   Wed, 11 Nov 2020 21:30:49 +0100

Don't explode if no data returned.

Diffstat:
Mq.dcgi | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/q.dcgi b/q.dcgi @@ -124,6 +124,10 @@ def q(_argv): else: data = httpget(server + "/q.php?q=" + quote(query)) + if not data: + print("Internal error") + return + jsondata = loads(data) print()