From 7d4bdef0955be4de0af1832d67d54c359cf7497f Mon Sep 17 00:00:00 2001 From: David Marx Date: Sat, 12 May 2018 20:40:33 -0700 Subject: [PATCH] Fixed bug in demo --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 580cb4b..13003cd 100644 --- a/README.rst +++ b/README.rst @@ -159,7 +159,7 @@ Using the ``stop_condition`` argument to get the most recent submission by a bot gen = api.search_submissions(stop_condition=lambda x: 'bot' in x.author) - for subm in enumerate(gen): + for subm in gen: pass print(subm.author)