diff --git a/plugins/newegg.py b/plugins/newegg.py index 87242dc..0a88286 100644 --- a/plugins/newegg.py +++ b/plugins/newegg.py @@ -86,8 +86,7 @@ def newegg(inp): # get the first result if r["ProductListItems"]: - item = r["ProductListItems"][0] - return format_item(item) + return format_item(r["ProductListItems"][0]) else: return "No results found."