Skip to content

Commit 51b0068

Browse files
committed
#21 - Fix None assumption when empty list is returned
1 parent 4a4b684 commit 51b0068

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

snapmap_archiver/SnapmapArchiver.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ def query_coords(
203203
self.logger.debug(f"[{current_iteration=}].")
204204
snaps_from_coords = None
205205

206-
while not snaps_from_coords:
206+
while snaps_from_coords is None:
207207
request_object = {
208208
"url": f"{self.api_host}/web/getPlaylist",
209209
"headers": {

0 commit comments

Comments
 (0)