Fix range on upload.
This commit is contained in:
parent
c892ac1aab
commit
7146fc2932
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -181,7 +181,7 @@ def main(config, dryrun, level, range):
|
|||
sink_results = []
|
||||
for sink in sinks:
|
||||
try:
|
||||
sink.post_events(events, until=config['range'])
|
||||
sink.post_events(events, until=max(config['range'].values()))
|
||||
sink_results += [True]
|
||||
except Exception:
|
||||
logger.exception('failed to post to sink %s', sink)
|
||||
|
|
Loading…
Reference in a new issue