Shop for ships without aliases.
authorCMDR furrycat <elite@furrycat.net>
Mon, 10 Apr 2017 15:32:50 +0000 (16:32 +0100)
committerCMDR furrycat <elite@furrycat.net>
Mon, 10 Apr 2017 15:32:50 +0000 (16:32 +0100)
plugin/shopping/shopping.py

index 76d3953..477436d 100644 (file)
@@ -235,9 +235,9 @@ class Shopping(object):
             continue
           if name.lower() not in [alias.lower() for alias in ship['aliases']]:
             continue
-          ship['search'] = name
-          ships.append(ship)
-          break
+        ship['search'] = name
+        ships.append(ship)
+        break
     return ships
 
   @asyncio.coroutine