Skip to content

Commit

Permalink
fixing it again (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
james-jdgtl authored Jul 16, 2024
1 parent 61ccfe6 commit 2334f51
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions github_discovery.py
Original file line number Diff line number Diff line change
Expand Up @@ -1188,7 +1188,7 @@ def process_products(data):
log.debug(r)
if r.status_code == 200:
j_meta = r.json()['meta']['pagination']
log.debug(f'Got result page: {j_meta['page']} from SC')
log.debug(f'Got result page: {j_meta["page"]} from SC')
j_data = r.json()['data']
process_components(j_data)
else:
Expand All @@ -1205,7 +1205,7 @@ def process_products(data):
)
if r.status_code == 200:
j_meta = r.json()['meta']['pagination']
log.debug(f'Got result page: {j_meta['page']} from SC')
log.debug(f'Got result page: {j_meta["page"]} from SC')
j_data = r.json()['data']
process_components(j_data)
else:
Expand All @@ -1225,7 +1225,7 @@ def process_products(data):
log.debug(r)
if r.status_code == 200:
j_meta = r.json()['meta']['pagination']
log.debug(f'Got result page: {j_meta['page']} from SC')
log.debug(f'Got result page: {j_meta["page"]} from SC')
j_data = r.json()['data']
process_products(j_data)
else:
Expand All @@ -1242,7 +1242,7 @@ def process_products(data):
)
if r.status_code == 200:
j_meta = r.json()['meta']['pagination']
log.debug(f'Got result page: {j_meta['page']} from SC')
log.debug(f'Got result page: {j_meta["page"]} from SC')
j_data = r.json()['data']
process_products(j_data)
else:
Expand Down

0 comments on commit 2334f51

Please sign in to comment.