diff --git a/get-definitions.py b/get-definitions.py index d084d55..4a9a603 100644 --- a/get-definitions.py +++ b/get-definitions.py @@ -22,12 +22,12 @@ def main(): for form in forms_list_file: form = form.rstrip() if start_from: - if start_from != form: - continue - else: + if start_from == form: start_from = "" + else: + continue get_definitions(form) - time.sleep(5000) + time.sleep(5) except OSError: exit("Could not open forms list file.")