Skip to content

Commit

Permalink
Merge pull request #49 from TimNekk/develop
Browse files Browse the repository at this point in the history
Update to new labels
  • Loading branch information
TimNekk authored Sep 4, 2023
2 parents 9f7cff1 + aa58f8e commit 613ef6e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/sheets/ozon_sheets.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

class OzonSheets(Sheets):
WORKBOOK_NAME = "Трекер Ozon"
TOP_OFFSET_CELL_VALUE = "Ссылка FBS"
TOP_OFFSET_CELL_VALUE = "FBS"

def __init__(self, credentials: ServiceAccountCredentials):
super().__init__(credentials, self.WORKBOOK_NAME, self.TOP_OFFSET_CELL_VALUE)
Expand All @@ -31,8 +31,8 @@ def get_urls(self, skip_empty: bool = True) -> OzonUrls:

def set_items(self, items: list[OzonItemPair]):
fbs_quantities: list[str | int] = ([""] * (self._top_offset - 1) +
[datetime.now().strftime("%d/%m - %H:%M"), "Количество FBS"])
fbo_quantities: list[str | int] = [""] * self._top_offset + ["Количество FBO"]
[datetime.now().strftime("%d/%m - %H:%M"), "FBS"])
fbo_quantities: list[str | int] = [""] * self._top_offset + ["FBO"]
fbs_prices: list[str | int] = [""] * self._top_offset + ["Цена FBS"]
fbo_prices: list[str | int] = [""] * self._top_offset + ["Цена FBO"]
fbs_green_prices = [False] * (self._top_offset + 1)
Expand Down

0 comments on commit 613ef6e

Please sign in to comment.