We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9134b97 + 9d29638 commit e11149dCopy full SHA for e11149d
src/models/image_dir.py
@@ -94,6 +94,12 @@ async def get_image(
94
)
95
else:
96
extra["dir"] = self.dir
97
+ LOGGER.info(f"mime_type: {mime_type}")
98
+ LOGGER.info(f"timeout: {timeout}")
99
+ LOGGER.info(f"extra: {extra}")
100
+ LOGGER.info(f"metadata: {metadata}")
101
+ LOGGER.info(f"kwargs: {kwargs}")
102
+
103
requested_dir = os.path.join(self.root_dir, extra["dir"])
104
105
if not os.path.isdir(requested_dir):
@@ -119,6 +125,7 @@ async def get_image(
119
125
if extra.get("ext") is not None:
120
126
if extra["ext"] in ["jpg", "jpeg", "png", "gif"]:
121
127
ext = extra["ext"]
128
+ LOGGER.info(f"ext: {ext}")
122
129
123
130
# Get max index to handle wraparound
124
131
max_index = self._get_greatest_image_index(requested_dir)
0 commit comments