diff --git a/queue_files/main.py b/queue_files/main.py index 5b16265..78cf93f 100644 --- a/queue_files/main.py +++ b/queue_files/main.py @@ -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)