From de49f9c832045abd03a30be34526a64525574818 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 21 Nov 2018 10:16:45 -0800 Subject: fix loop_sleep typo --- python/fatcat_tools/harvest/doi_registrars.py | 2 +- python/fatcat_tools/harvest/oaipmh.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'python/fatcat_tools/harvest') 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)) -- cgit v1.2.3