From 7146fc2932d545b3251f477aa3798020feb173c5 Mon Sep 17 00:00:00 2001 From: redxef Date: Tue, 14 Nov 2023 18:47:22 +0100 Subject: [PATCH] Fix range on upload. --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 48c1a0e..d00086c 100755 --- a/main.py +++ b/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)