sort webring users by most recently updated
This commit is contained in:
parent
f2afe19bc9
commit
8a723c2bc8
@ -390,6 +390,8 @@ if __name__ == "__main__":
|
||||
# with open("meta.json",'r') as f:
|
||||
# list_of_json_objs.append(json.loads(f.read()))
|
||||
list_of_json_objs = fetch(webring_config["list"])
|
||||
list_of_json_objs.sort(
|
||||
key=lambda e: e["last-updated"], reverse=True)
|
||||
if list_of_json_objs == []:
|
||||
print("no remote profiles loaded", file=sys.stderr)
|
||||
return []
|
||||
|
Loading…
x
Reference in New Issue
Block a user