Skip to content

Commit

Permalink
fix: indent fix
Browse files Browse the repository at this point in the history
  • Loading branch information
xob0t committed May 5, 2024
1 parent 9d80047 commit e1b0b59
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions core/parser_url.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,8 +256,8 @@ def _get_address_from_string(self):

def _parse_item(self, item):
if item["favoriteOffer"]["merchantName"] in self.blacklist:
self.logger.debug("Пропуск %s", item["favoriteOffer"]["merchantName"])
return
self.logger.debug("Пропуск %s", item["favoriteOffer"]["merchantName"])
return
delivery_possibilities = set()
for delivery in item["favoriteOffer"]["deliveryPossibilities"]:
delivery_info = f"{delivery['displayName']}, {delivery.get('displayDeliveryDate', '')} - {delivery.get('amount', 0)}р"
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name='mmparser',
version='0.5.0',
version='0.5.1',
description='Парсер megamarket.ru',
author='xob0t',
url='https://github.com/xob0t/mmparser',
Expand Down

0 comments on commit e1b0b59

Please sign in to comment.