From 32e5630e7068f6b2d49f65053da6972c6db98025 Mon Sep 17 00:00:00 2001 From: TheOrangeOne Date: Thu, 25 Aug 2016 21:52:29 +0100 Subject: [PATCH] cleanup links script --- plugins/links.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/plugins/links.py b/plugins/links.py index 1be12d8..b696760 100644 --- a/plugins/links.py +++ b/plugins/links.py @@ -27,10 +27,7 @@ def accounts(): def footer(): footer_accounts = ["github", "twitter", "reddit", "instagram", "youtube", "flickr"] all_accounts = accounts() - footer_links = [] - for account in footer_accounts: - footer_links.append(all_accounts[account]) - return footer_links + return [all_accounts[account] for account in footer_accounts] def index_projects():