Skip to content

Commit 4bb9ffd

Browse files
committed
Refactoring
1 parent db5db07 commit 4bb9ffd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cbr_ru/xml_metall/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
rates = get_metal_rates(date_req1, date_req2)
2727

2828
log.info(f'Найдено: {len(rates)}')
29-
if not rates:
29+
if not rates: # TODO: move logic to get_metal_rates?
3030
log.info('Ничего не вернулось, похоже на ошибку сервиса. Нужно повторить')
3131
time.sleep(60)
3232
continue

0 commit comments

Comments
 (0)