Skip to content

Commit

Permalink
Remove early return
Browse files Browse the repository at this point in the history
  • Loading branch information
greg-finley committed Aug 29, 2024
1 parent 12f4261 commit 4091618
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions queue_files/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,6 @@ def run(event, context):
dbx = dropbox.Dropbox(token)
dropbox_result = dbx.files_list_folder_continue(cursor=old_cursor)

if not dropbox_result.entries:
print("No new files found")
return

# Immediately write the new cursor to the database so further requests use
# it and cut down on duplicated work
print("New cursor: ", dropbox_result.cursor)
Expand Down

0 comments on commit 4091618

Please sign in to comment.