We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 26f081b commit 29b2fceCopy full SHA for 29b2fce
1 file changed
opencage/batch.py
@@ -27,6 +27,9 @@ async def geocode(self, input, output):
27
if test['error']:
28
self.log(test['error'])
29
return
30
+ if test['free'] is True and self.options.workers > 1:
31
+ sys.stderr.write(f"Free trial account detected. Resetting number of workers to 1.\n")
32
+ self.options.workers = 1
33
34
if self.options.headers:
35
header_columns = next(input, None)
0 commit comments