Fixes #4 show html feeds before xml feeds
A very simple fix, just insert html feeds at position 0 instead of appending them to the list. This ensures that html feeds are always listed first
This commit is contained in:
parent
254b0ac5b6
commit
504052bee6
1 changed files with 1 additions and 1 deletions
|
@ -217,7 +217,7 @@ def find_possible_feeds(origin):
|
|||
|
||||
hfeed = mf2util.interpret_feed(mf2py.parse(doc=resp.text), origin)
|
||||
if hfeed.get('entries'):
|
||||
feeds.append({
|
||||
feeds.insert(0,{
|
||||
'origin': origin,
|
||||
'feed': origin,
|
||||
'type': 'html',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue