summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-11-21 10:16:45 -0800
committerBryan Newbold <bnewbold@robocracy.org>2018-11-21 10:16:45 -0800
commitde49f9c832045abd03a30be34526a64525574818 (patch)
tree27c4bfe6a5723ba14abf08cd93926fb2529d718b
parent4be11adc4ac5370062cfb0e9cddfe7b3c50d70a7 (diff)
downloadfatcat-de49f9c832045abd03a30be34526a64525574818.tar.gz
fatcat-de49f9c832045abd03a30be34526a64525574818.zip
fix loop_sleep typo
-rw-r--r--python/fatcat_tools/harvest/doi_registrars.py2
-rw-r--r--python/fatcat_tools/harvest/oaipmh.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/python/fatcat_tools/harvest/doi_registrars.py b/python/fatcat_tools/harvest/doi_registrars.py
index 3201c180..9518a96d 100644
--- a/python/fatcat_tools/harvest/doi_registrars.py
+++ b/python/fatcat_tools/harvest/doi_registrars.py
@@ -135,7 +135,7 @@ class HarvestCrossrefWorker:
if continuous:
print("Sleeping {} seconds...".format(self.loop_sleep))
- time.sleep(self.loop_sleep())
+ time.sleep(self.loop_sleep)
else:
break
print("{} DOI ingest caught up".format(self.name))
diff --git a/python/fatcat_tools/harvest/oaipmh.py b/python/fatcat_tools/harvest/oaipmh.py
index ffcd5e78..4485a59f 100644
--- a/python/fatcat_tools/harvest/oaipmh.py
+++ b/python/fatcat_tools/harvest/oaipmh.py
@@ -117,7 +117,7 @@ class HarvestOaiPmhWorker:
if continuous:
print("Sleeping {} seconds...".format(self.loop_sleep))
- time.sleep(self.loop_sleep())
+ time.sleep(self.loop_sleep)
else:
break
print("{} OAI-PMH ingest caught up".format(self.name))