more quotes
This commit is contained in:
parent
a64d86398f
commit
49d34346fe
1 changed files with 2 additions and 2 deletions
|
@ -18,8 +18,8 @@ def refresh_quotes():
|
|||
try:
|
||||
# Fetch quotes
|
||||
res = requests.get('https://mattermore.zeus.gent/quotes.json').json()
|
||||
assert len(res) > 100
|
||||
res = res[-100:]
|
||||
assert len(res) > 150
|
||||
res = res[-150:]
|
||||
except:
|
||||
pass
|
||||
|
||||
|
|
Loading…
Reference in a new issue