We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7dcef2b commit f812a39Copy full SHA for f812a39
sdk/diffgram/core/diffgram_dataset_iterator.py
@@ -53,7 +53,7 @@ def get_image_data(self, diffgram_file):
53
image = imread(diffgram_file.image.get('url_signed'))
54
break
55
except Exception as e:
56
- if i < MAX_RETRIES:
+ if i < MAX_RETRIES - 1:
57
continue
58
else:
59
raise e
0 commit comments