diff --git a/example_publisher/publisher.py b/example_publisher/publisher.py index 1b4ceb8..a0bb7f9 100644 --- a/example_publisher/publisher.py +++ b/example_publisher/publisher.py @@ -87,7 +87,9 @@ async def _upd_products(self): } log.debug("fetched product accounts from Pythd", products=pythd_products) - old_products_by_generic_symbol = {product.generic_symbol: product for product in self.products} + old_products_by_generic_symbol = { + product.generic_symbol: product for product in self.products + } self.products = []