neddit

the frontend of the frontpage of the internet  https://neddit.ce9e.org
git clone https://git.ce9e.org/neddit.git

commit
d7586261349c4a54da61693894dab942e3dc8fcb
parent
09acf28b1153c492447ca2e622958c26079d3f79
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2020-10-12 06:31
fix raw_json precedence

Diffstat

M neddit.py 2 +-

1 files changed, 1 insertions, 1 deletions


diff --git a/neddit.py b/neddit.py

@@ -53,7 +53,7 @@ def fetch(url, **params):
   53    53 	r = requests.get(
   54    54 		url,
   55    55 		headers={'User-agent': 'neddit'},
   56    -1 		params={'raw_json': 1, **params},
   -1    56 		params={**params, 'raw_json': 1},
   57    57 	)
   58    58 	if r.status_code != 200:
   59    59 		abort(r.status_code)